[issue3422] hg forget followed by hg revert blows away untracked diffs

Ben Boeckel bugs at mercurial.selenic.com
Thu May 3 21:28:56 CDT 2012


New submission from Ben Boeckel <mathstuf at gmail.com>:

When a file contains untracked changes that are 'staged' and then hg forget 
followed by hg revert is done on the file, any untracked changes are blown 
away. Reproducer script attached.

Version: 2.2

----------
files: hg-forget.sh
messages: 19894
nosy: mathstuf
priority: critical
status: unread
title: hg forget followed by hg revert blows away untracked diffs

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3422>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hg-forget.sh
Type: application/octet-stream
Size: 260 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120504/048824e2/attachment.obj>


More information about the Mercurial-devel mailing list