[Top][All Lists]

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

Re: getting files related to two tags

From: Spiro Trikaliotis
Subject: Re: getting files related to two tags
Date: Thu, 9 Dec 2004 17:52:27 +0100
User-agent: Mutt/1.5.6+20040907i


* On Thu, Dec 09, 2004 at 11:28:07AM -0500 Larry Jones wrote:
> Sandhya writes:
> > 
> > Suppose I want to get files related to two tags. I can check out
> > files based on one tag. And if I try to check out files based on the
> > second tag, all the files related with the 1st tag is deleted.  Is
> > there any scenario where I can have files related to both the tags.
> No.  That's not how tags are intended to work.

There is a "non-CVS" way: At first, decide which of the tags A and B is
the one from which you want the files if both exist. Assume you want B
to take precedence.

Then, export the proj with both tags in different directories:

   cvs export -d proj-A/ -r A proj
   cvs export -d proj-B/ -r B proj

Now, copy everything from proj-B into proj-A. Voila, you have both
projects mixed.

Of course, this does *not* work if you want to have a real sandbox!


Spiro R. Trikaliotis

reply via email to

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