info-cvs
[Top][All Lists]
Advanced

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

Re: Tags and uncommited resources...


From: Peter Connolly
Subject: Re: Tags and uncommited resources...
Date: Sat, 28 Jul 2007 10:26:48 -0700

>  1) We have three separate projects that together make up the deployment
> assets: Commons, Web, and Testing. First question is: can I TAG all three of
> the projects with the same TAG to mark the same mile-stone in all three of
> them?! Guessing that it's not a problem but wanted to confirm.
>
See 2nd answer...


>  2) Need to TAG the projects while having some uncommited resources locally
> - is this a problem? I seem to recall from the docs that the TAG command
> only affects the repository, so any uncommited changes locally should not be
> included. Not sure if cvs will insist that they be checked in first?!
> Ideally, whatever is in repository at the time the TAG command is issued for
> each project should be tagged, and all local changes should be
> excluded/ignored. Here is the command I plan on using (after navigating to
> each project dir):
>
The 'cvs tag' command operates on your local sandbox.  If the files
that you want tagged are already in the repository, then you want to
use the 'cvs rtag' command which operates directly on the repository.
See the manual for more details.

http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_17.html#SEC157

There is nothing preventing you from 'cvs rtag'ing three or more
directories in the same command.  That would be the best way to answer
#1 above, although there's nothing stopping you from rtag'ing each
directory separately (except the increased possibility that someone
will commit files in one directory while you're tagging another).




reply via email to

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