[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do you "unupdate" a file
From: |
Larry Jones |
Subject: |
Re: How do you "unupdate" a file |
Date: |
Thu, 11 Apr 2002 16:16:10 -0400 (EDT) |
Frederic Brehm writes:
>
> I updated a file by mistake and I'm not ready to integrate its
> changes with my current sandbox. An "update -r old.rev" will fix
> things up, but it sets a sticky tag.
That's exactly what you want.
> I'll probably forget (call it a senior moment :-) to "update -A"
> until I thrash around a bit and figure out what's wrong. It would be
> nice to avoid the time wasted while thrashing around.
Hardly -- when you try to commit, CVS will tell you that you can't
because you've got a sticky tag that isn't a branch. You should
immediately know what to do when that happens.
> Is there some way to restore my sandbox to to the state before I did
> the mistaken update? It's probably possible to do some nasty things
> with the CVS/Entries file, but is there a cleaner way?
No.
-Larry Jones
I think grown-ups just ACT like they know what they're doing. -- Calvin