[M3devel] Another CVS question: duplicate local copies

Olaf Wagner wagner at elegosoft.com
Thu Jul 1 22:51:37 CEST 2010


Quoting "Rodney M. Bates" <rodney_bates at lcwb.coop>:

> I understand a release tag is "sticky", meaning once I specify it in a
> CVS command, the value I gave becomes internal state and will continue
> to be used in subsequent commands, until I do something explicitly to
> change it.  Where is this state recorded?  I particular, is it somewhere
> in the repository, or on my local disk?

It's in the CVS/Entries files; there's a column for sticky tags.
It looks like this:

% cat m3-libs/binIO/src/CVS/Entries
/BinIO.i3/1.1.1.1/Sat Jan  5 16:32:08 2002//Trelease_branch_cm3_5_8
/BinIO.m3/1.1.1.1/Sat Jan  5 16:32:09 2002//Trelease_branch_cm3_5_8
/FastBinIO.i3/1.1.1.1/Sat Jan  5 16:32:09 2002//Trelease_branch_cm3_5_8
/FastBinIO.m3/1.1.1.1/Sat Jan  5 16:32:10 2002//Trelease_branch_cm3_5_8
/m3makefile/1.1.1.1/Sat Mar 27 11:42:57 2004//Trelease_branch_cm3_5_8
/m3overrides/1.2/Sat Jul 25 09:33:14 2009//Trelease_branch_cm3_5_8
D

The repository does not know about any workspaces.

> The motivation is this:  I am now connected through a satellite internet
> service that has high latency, slow speed, and worst, a restrictive
> quota on bit volumes.  I can scarcely afford the data transfer of
> frequent switches between the head and release branches.  I want to
> keep a local copy of each.  Can I do this?

You can have as many CVS workspaces with different branches and
versions as you like.

> I made a complete copy of my local distribution, currently of the
> head.  In the copy, I did "cvs -z9 -q update -r release_branch_cm3_5_8".
> So if I do an update in the future from inside the original directory,
> will I get head versions, and if I do it in my copy that is now the
> release branch, will I get updates to the release branch?  Or do I
> have to specify tags carefully every time, no matter where I am?
> Or is this feasible at all?

That should be no problem with CVS.
Just be careful not to mess up the CVS directories manually.

Olaf
-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list