info-cvs
[Top][All Lists]
Advanced

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

Re: Removing old revisions


From: Larry Jones
Subject: Re: Removing old revisions
Date: Mon, 5 Mar 2007 12:03:01 -0500 (EST)

Mark D. Baushke writes:
> 
> Larry Jones <address@hidden> writes:
> > 
> > CVS won't let you remove a branch point revision.
> 
> Hmmm... while that may be true, it does not render my point invalid.

I never said it did.  :-)

[...]
>  cvs admin -o1.2 foo
>  cvs -q log foo
> 
> Yeilds the following error message:
> 
>  cvs [update aborted]: could not find desired version 1.2 in 
> /tmp/mdb-repos/jj/foo,v
> 
> In my opinion, this renders branch bar impossible to use again.

Yep.

> The difficulty is knowning if one of the branches (or tags) being
> deleted will ever be needed again. If you only have one or two branches,
> then it should be easy to spot the use. If you have many, it may be
> possible to overlook the use. Or, if you assumed that CVS would not let
> you remove a revision being used by any kind of tag, that would also be
> a possible problem.

CVS won't allow removing tagged revisions if you use the "new" inclusive
range syntax, but it neglects to check for magic branch tags.  That is a
bug that I am fixing.  Only checking when using the new syntax is an
obsolescent feature (the manual warns that it could change in the
future) that I think is long overdue for change.  Changing the code is
easy but it has unexpectedly large ramifacations on the test suite.

-Larry Jones

My life needs a rewind/erase button. -- Calvin




reply via email to

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