how to undo hg revert

Dmitry Nezhevenko dion at inhex.net
Sun May 25 10:38:03 UTC 2008


On Sun, May 25, 2008 at 07:17:31PM +0000, Peter wrote:
> Hi
> I inadvertently did hg revert --all to undo a previous hg add. However, 
> there very also uncommitted changes in the rep. Did I loose them, or is 
> there a way to undo an hg revert  (other than restoring from backup) ?

hg revert saves makes backup of all reverted files (with names like
$FILE.orig).

-- 
WBR, Dmitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20080525/e06768bb/attachment-0001.asc>


More information about the Mercurial mailing list