info-cvs
[Top][All Lists]
Advanced

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

Re: creating a branch for only some files of a module


From: Larry Jones
Subject: Re: creating a branch for only some files of a module
Date: Mon, 10 Apr 2006 10:18:53 -0400 (EDT)

Urs Thuermann writes:
> 
> Is it possible to create a branch for only some files of a module (all
> in one subdirectory) and still have the rest of the files in both
> branches?

Yes, although I don't know how good an idea it is.  You can use "cvs
admin -n" to create a branch tag that points to the same branch as an
existing branch:

        cvs admin -n new_branch:old_branch
 
So, you could create a branch for the module and then use admin to
create the same branch tag in the other files pointing to the original
branch.

Note that the trunk is a virtual branch, not an actual branch, so it's
not possible to make a branch tag that points to the trunk.  However, if
you don't use the vendor branch or play with the revision numbers, the
actual branch "1" will always correspond to the trunk.

-Larry Jones

Let's just sit here a moment... and savor the impending terror. -- Calvin




reply via email to

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