cvs-cvs
[Top][All Lists]
Advanced

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

Re: [Cvs-cvs] Checkout using cumulative tags


From: Mark D. Baushke
Subject: Re: [Cvs-cvs] Checkout using cumulative tags
Date: Tue, 22 Sep 2009 11:00:02 -0700

Jean-Michael Legait <address@hidden> writes:

> I would like to perform a checkout action using a list of tags.

Your desired operational mode is not a desirable feature of the normal
CVS program.

> So, I have tried the following example:
> 
> 'MyModule/myFile.c' tagged with TAG_FILE
> 'MyModule/myOtherFile.c' tagged with TAG_OTHER_FILE
> 
> Then, I have launched:
> cvs co -r TAG_FILE MyModule
> I got 'MyModule/myFile.c'
> 
> Then, I have launched:
> cvs -r TAG_OTHER_FILE MyModule

> And I got 'MyModule/myOtherFile.c' BUT the file 'MyModule/myFile.c'
> has been removed.

Yup, that is the expected behavior. It is documented and correct.

> Is it possible to change this behavior in order to keep the checkouted
> files?

Your desired behavior is not consistent with correct operation for the
current STABLE or FEATURE branches of CVS.

You might be able to hack the behavior into CVS sources yourself, but
such patches will not be accepted back.

> And to update locally, only the files concerned by the cvs tag?

You could mix your tree by hand

  cvs co -r TAG_FILE MyModule
  cd MyModule
  cvs update -r TAG_OTHER_FILE myOtherFile.c

However, this is not typically a best common practise.

        Good luck,
        -- Mark

Attachment: pgpjHWhS4liAO.pgp
Description: PGP signature


reply via email to

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