[Top][All Lists]

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

RE: point of fork

From: Thornley, David
Subject: RE: point of fork
Date: Tue, 19 Feb 2002 14:18:24 -0600

> -----Original Message-----
> From: Alex Wiesmaier [mailto:address@hidden
> Sent: Tuesday, February 19, 2002 7:42 AM
> To: address@hidden
> Subject: point of fork
> hi
> i have several branches in my cvs. now i have to tag a 
> version at which a
> certain branch was forked from the main trunk. so does 
> anybody know how to
> retrieve a point of fork version? it will be very hard to do 
> this by using
> the date because several subdirectories have been joined to 
> the branch at
> different times.
You'll probably have to go file by file (if there's more than
about three files to process, I'd write me a Perl script to
do it).  After all, if you didn't tag it in the first place,
and can't use the date, you've got nothing global to use.

Do a cvs stat -v on each file, and find what the branch numbers
are.  They'll be in a form like 1.32.4 or  Drop the
last number (resulting in 1.32 or to get the revision
where the branch was forked.  (If you're *sure* the file has been
changed since the fork, you can drop the last two numbers of
the revision number, but that's usually not the case.)  These
numbers will normally be different for each file.

Once you've found the branch point for each file, put the tag

reply via email to

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