[issue1808] hg record gives number of changes incorrectly

Faheem Mitha mercurial-bugs at selenic.com
Mon Aug 24 04:00:09 UTC 2009


New submission from Faheem Mitha <faheem at email.unc.edu>:

See hg bundle and enclosed README for reproduction recipe. README enclosed
below too.
                                                          Regards, Faheem.

***************************************************************************
To reproduce bug, issue the following commands at root of repos. This
is what I get with mercurial 1.3.1 on Debian lenny backport from
unstable).

$ hg up -r0

$ hg revert -r1 -a

$ hg st -mard
M file1
M file2
$ hg record
diff --git a/file1 b/file1
2 hunks, 16 lines changed
examine changes to 'file1'? [Ynsfdaq?]
[...]
record change 1/5 to 'file1'? [Ynsfdaq?]  n
[...]
record change 2/5 to 'file1'? [Ynsfdaq?]  n
[...]
diff --git a/file2 b/file2
2 hunks, 36 lines changed
examine changes to 'file2'? [Ynsfdaq?]
[...]
record change 4/5 to 'file2'? [Ynsfdaq?]  n
[...]
record change 5/5 to 'file2'? [Ynsfdaq?]  n
[...]

----------
files: recordbug.bundle
messages: 10411
nosy: djc, faheem
priority: bug
status: unread
title: hg record gives number of changes incorrectly
topic: record

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://mercurial.selenic.com/bts/issue1808>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: recordbug.bundle
Type: application/octet-stream
Size: 12487 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090824/f747424d/attachment.obj 


More information about the Mercurial-devel mailing list