[Top][All Lists]

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

Re: Problems with CVS TAG recursive

From: Todd Denniston
Subject: Re: Problems with CVS TAG recursive
Date: Fri, 18 Jul 2008 09:57:07 -0400
User-agent: Thunderbird (X11/20080421)

address@hidden wrote, On 07/18/2008 06:59 AM:
I want to do a tag of every file currently in a workarea so I tried to

cvs tag -R tag_name .

However it exits the error:

cvs [tag aborted]: could not chdir

before it has finished tagging all the files.

The reason is there is a directory in the CVS repository that I do not
have in my work area and that I do not want to tag.

Is there anyway round this? Some sort of option which makes TAG
continue and not abort?

Have you tried with out the explicit '-R' and '.' ?
`cvs tag tag_name` should follow the same code path, and should tag everything in your sandbox (workarea).

if `cvs tag tag_name` or ``cvs tag -R tag_name` work for you, then A) you have a solution to your problem, and B) you need to let the CVS devs know that there is a problem with either explicitly setting the start path '.' or the way '-R' works, also an example script to setup a dummy repository and sandbox with commands to demonstrate the pathology would be appreciated (see [1] for an example of such a script).

IIRC, I think one of my coders had a problem with one of the cvs commands a few years ago when they explicitly set the start path to '../' [2], this might be related.

of course after you get some more data, to tie everything up you should probably do something I did not... create a bug (verify there is no old one covering the same thing first) at[3].


[1] http://lists.gnu.org/archive/html/bug-cvs/2005-07/msg00031.html
[2] http://lists.gnu.org/archive/html/bug-cvs/2005-07/msg00024.html
[3] http://savannah.nongnu.org/projects/cvs/
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

reply via email to

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