On Wed, Jul 26, 2000 at 10:22:19AM -0400, Larry Jones wrote:
> Never screw with the repository directly unless you're absolutely
> certain you know what you're doing. In this case, the correct way to
> recover is to do status or log on the file to determine which version it
> is that you want to restore (usually it will be the version just prior
> to the current "dead" version), use update -p to get a copy of that
> version, then add and commit it.
This makes me wonder.
Is that Attic really even necessary?
CVS is doing two things when you delete a file: Moves it to the attic, and
creates a new version with the state of "dead."
Obviously moving the file isn't enough. And if one ressurects the file,
I believe it stays in Attic anyway, with a newer state no longer dead.
So, why move a file into the Attic at all? Just mark them as dead, and
leave it be. Might simplify code in some parts (of course, wouldn't rip
out all Attic handling, for repositories already using it), but if that
could eventually be pulled too.
What's the saying: It's done, not when you have no more to add, but when
you have no more feature to remove.
mrc
--
Mike Castle Life is like a clock: You can work constantly
[EMAIL PROTECTED] and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc
We are all of us living in the shadow of Manhattan. -- Watchmen