[M3devel] Another CVS question: duplicate local copies

Rodney M. Bates rodney_bates at lcwb.coop
Sat Jul 3 18:09:27 CEST 2010


OK, thanks.  I had since noticed the tags in .../CVS/Entries files.
It seems to be working, after I remembered to add -dAP to my
cvs update command.


Olaf Wagner wrote:
> 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



More information about the M3devel mailing list