info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Relative tags (was: How do you get back a file after it has b een "c


From: Jim.Hyslop
Subject: RE: Relative tags (was: How do you get back a file after it has b een "cvs remove"'d?)
Date: Tue, 11 Jan 2005 14:10:03 -0500

Larry Jones wrote:
> or with a merge:
> 
>       cvs up -j1.8 -j1.7 myfile
> 
> (Assuming that the current dead revision is 1.8 and thus the revision
> you want to resurrect is 1.7.)
On a tangental note: has any thought been given to the possibility of
specifying "relative tags"?

For example, suppose multiple files had been accidentally removed, and had
to be restored. For each file, you'd have to manually specify the HEAD
revision, and (HEAD-1) revision. It would be nice if we could do something
like:

cvs up -jHEAD -j(HEAD-1)

and CVS would automatically calculate the correct revision numbers for each
file. Am I off my rocker, or would this be a useful feature?

There are, of course, corner cases to consider - e.g. what if HEAD is 1.1?

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( http://www.leitch.com )
Columnist, C/C++ Users Journal ( http://www.cuj.com/experts )





reply via email to

[Prev in Thread] Current Thread [Next in Thread]