[cvsnt] Re: virtual branches ?

Bo Berglund bo.berglund at telia.com
Thu Oct 20 06:34:32 BST 2005

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

On Wed, 19 Oct 2005 21:37:05 -0200, Gerhard Fiedler
<lists at connectionbrazil.com> wrote:

>Matt Schuckmann wrote:
>> I'd like a command (or option to the merge command or option to the 
>> tag/rtag commands) to float (or move) the branch tag (for all the 
>> unbranched files) to the HEAD (or to a user specified tag or date). 
>How about this... Since there is no easy way to get the branch point later
>on, most people probably will tag the parent branch (HEAD in your case) at
>the branch point.
>After you created this tag (so to speak your baseline), you update your
>sandbox to this /tag/ (notice that there is no branch yet). Now you branch
>the files you want to work on -- and /only/ these. All the other files
>remain on the tag (and therefore unaltered).
>When you notice that you need to include a file into your working set, you
>have to branch it first. That's the drag with this procedure. 
>When you want to get some new revisions from the parent branch into your
>baseline, you just move the tag (of course only for files that haven't been
>branched yet). Full control about when and which files.
>The only thing here is that you mustn't forget to branch a file before
>working on it.

But this is not such a big problem, you will find when you try to
commit that cvs will protest because the file you edited is on a
sticky tag at the moment and you are not allowed to commit changes.
At that moment you can put it on the branch (while it is in the edited
state) and then commit.

(Bo Berglund, developer in Sweden)

More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook