info-cvs
[Top][All Lists]
Advanced

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

RE: getting files related to two tags


From: Rick Genter
Subject: RE: getting files related to two tags
Date: Thu, 9 Dec 2004 09:11:15 -0800

You can do it the CVS way by introducing a third tag:

cvs rtag -r tag_A tagsA_and_B module
cvs rtag -r tag_B tagsA_and_B module
cvs co -r tagsA_and_B module



--
Rick Genter
Principal Engineer
Silverlink Communications
<mailto:address@hidden>
(781) 272-3080 x242

This e-mail, including attachments, may include confidential and/or
proprietary information, and may only be used by the person or entity to
which it is addressed.  If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited.  If you have received this e-mail in error, please notify
the sender by replying to this message and delete this e-mail
immediately.



-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Spiro Trikaliotis
Sent: Thursday, December 09, 2004 11:52 AM
To: address@hidden
Subject: Re: getting files related to two tags

Hello,

* 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!

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
http://www.viceteam.org/


_______________________________________________
Info-cvs mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/info-cvs




reply via email to

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