bug-cvs
[Top][All Lists]
Advanced

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

Re: Problems with CVS TAG recursive


From: a1_nocrap_exh
Subject: Re: Problems with CVS TAG recursive
Date: Sat, 19 Jul 2008 06:32:58 -0700 (PDT)
User-agent: G2/1.0

> > a1_nocrap_...@hotmail.com writes:
> > I want to do atagof every file currently in a workarea so I tried to use:
> >cvstag-R tag_name .
>
> > However it exits the error:
>
> >cvs[tagaborted]: could not chdir
>
> > before it has finished tagging all the files.

On Jul 18, 2:45 pm, "Bernd Jendrissek" <bernd.jendris...@gmail.com>
wrote:
> Why does the directory not exist in your work area?  Did you
> explicitly delete it with 'rm -rf foo/subdir'?

Yes I explicitly deleted it from the workarea as it was for a section
of the project I did not want to tag.

On Jul 18, 2:57 pm, Todd Denniston <Todd.Dennis...@ssa.crane.navy.mil>
wrote:
> Have you tried with out the explicit '-R' and '.' ?
> `cvstagtag_name` should follow the same code path, and shouldtageverything
> in your sandbox (workarea).

No. I didn't try that. Thanks.

On Jul 18, 3:59 pm, lawrence.jo...@siemens.com (Larry Jones) wrote:
> How did you arrange that?  The only way I can reproduce your problem is
> by removing a directory from my working directory after having checked
> it out fromCVS.  You can't go messing around with stuff behindCVS's
> back and then expect it to work right!

Yes that is what happened.

Although I've used CVS for many years, I doubt I really understand how
to use it as it was intended at this level.

On Jul 18, 3:59 pm, lawrence.jo...@siemens.com (Larry Jones) wrote:
> If you didn't want that directory, you shouldn't have check it out in the 
> first place.
> To exclude a subdirectory from a checkout, use a command like:
>
>        cvs co "!foo/subdir" foo
>

Thanks. This is almost certainly what I should have done.

Is there any way to make CVS cancel a checkout of a subdir within a
workarea?

If I could cancel the checkout of the DIR's that I went on to delete
using "rm -rf" then my recursive tagging should work.

I am getting close to solving my problem, I can feel it. Thanks to
everyone who replied.


reply via email to

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