[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Aliasing the trunk with a branch tag
From: |
Pierre Asselin |
Subject: |
Re: Aliasing the trunk with a branch tag |
Date: |
Wed, 1 Sep 2004 00:26:03 +0000 (UTC) |
User-agent: |
tin/1.6.1-20030810 ("Mingulay") (UNIX) (NetBSD/1.5.4_ALPHA (i386)) |
Keith Refson <address@hidden> 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
"address@hidden" .
--
pa at panix dot com