Cannot understand "update REV" behaviour
bortzmeyer at nic.fr
Fri Sep 16 09:58:19 CDT 2005
On Fri, Sep 16, 2005 at 07:42:21AM -0700,
Bryan O'Sullivan <bos at serpentine.com> wrote
a message of 14 lines which said:
> If you want to get the deleted file back, update to the tip, and use
> the revert command to get that file back as it was at whatever
> revision you need.
Now, I understand the use of "hg revert" :-) It works but the file is
just retrieved, not its history:
% hg status
I could as well run "hg log -p | patch".
I had to do a "hg add" and a commit.
More information about the Mercurial