[cvsnt] Betr.: Re: Using -r and -D together while applying a tag

Tony Hoyle tony.hoyle at march-hare.com
Mon Sep 15 18:32:03 BST 2008


Jan Keirse wrote:

> I don't understand why the entries file format is a problem here. 
> If last week I checked out the TEST branch of my system and didn't touch 
> the sandbox it would still be here today.
> So why wouldn't it be possible to create that same sandbox with the same 
> contents and all the revisions from last week today?

The entries file records the sticky tag which can be either a tag or a 
date.  Currently no syntax exists to hold both at the same time.

There don't seem to be many actual checks to stop you doing it.. rtag is 
the only explicit one I could find - although it's possible I removed 
them sometime.. the code I work with is subsantially different to the 
cvsnt release.

For cvsnt I suspect it's too entrenched in the old code to make it work, 
although it's Arthur's call if he wants to do it.

In EVS as far as I can tell it'll just work anyway, since date is a 
separate attribute (and the entries file isn't used normally)... OTOH 
I've not had occasion to test that.

> It could be usefull if you have messed up your system and want to go back 
> to a week ago because you're sure it worked last week (but didn't tag 
> because there was no release or anything.) 

For that you would normally do a merge to remove changes from the 
interim period (or more often a diff followed possibly by a merge of the 
parts that don't work).  Indeed I have had occasion to  do this.. it's 
easy to break things and need to roll back a change or two.

Tony


More information about the cvsnt mailing list