Keith Refson <[EMAIL PROTECTED]> wrote:
> One problem I regularly face is: how to build two different versions of
> a project which differ in only a very small subset of files.  One of
> these versions is obviously the trunk version.  It would be extremely
> convenient if this could be achieved by simply

>    cvs co (or update) -A myproject
>    cvs co (or update) -r Version_B myproject

> to switch between them.
> [ ... ]
> I recenty came across a suggestion of how to do this, and it does work
> when I tried it out.  The idea is simple - just add the branch  at the
> numeric version "1":

>     cvs admin -nVersion_B:1

> [ ... ]
> I'm asking for any opinions on whether this is a safe thing to do, and any
> potential difficulties, mild or severe, which might arise.

It should be ok, but I'm always weary of long-lived branches.
After a while you might want to re-graft your branch higher up on
the trunk (for the files that do change).  If you don't see what
I mean, do an advanced search on groups.google.com for Message-Id
"[EMAIL PROTECTED]" .

-- 
pa at panix dot com
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to