[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"cvs release" does not update the CVS/Entries(.log) file

From: Reinstein, Shlomo
Subject: "cvs release" does not update the CVS/Entries(.log) file
Date: Mon, 24 Jun 2002 10:14:22 +0300


I would like to use "cvs release" to get rid of a sub-tree of my project.
However, I noticed that "cvs release" does not update the "CVS/Entries" (or
"CVS/Entries.log") file, which causes a problem later when I want to run
other commands, like "cvs status", "cvs tag", etc. For example:

> cvs -d my-cvs-root get my-project
... the directory tree is checked-out ...
> cd my-project
> cvs release -d sub-dir
You have [0] altered files in this repository.
Are you sure you want to release (and delete) directory `sub-dir': y
> cvs tag 
cvs tag: Tagging .
... tags some files and directories ...
cvs tag: Tagging sub-dir
cvs [tag aborted]: could not chdir to sub-dir: No such file or directory

I think that if "cvs get" adds sub-directories to the "CVS/Entries" file,
then "cvs release" should remove them from that file. Otherwise, is there a
clean way to get rid of a sub-tree which is not needed and continue working
on the rest of the project in the working directory?

Note that the same thing happens if sub-dir is not part of my-project, but
after checking-out my-project I change directory to it and then check-out
sub-dir explicitly (from another location in the repository or even from a
different repository) - it still adds sub-dir to the CVS/Entries file of


reply via email to

[Prev in Thread] Current Thread [Next in Thread]