[Bug 3670] New: hg commit --amend leads to wrong dirstate if commit message is empty
bugzilla-daemon at bz.selenic.com
bugzilla-daemon at bz.selenic.com
Sun Oct 21 14:35:15 CDT 2012
http://bz.selenic.com/show_bug.cgi?id=3670
Priority: normal
Bug ID: 3670
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: hg commit --amend leads to wrong dirstate if commit
message is empty
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: dsp at php.net
Hardware: PC
Status: UNCONFIRMED
Version: 2.4-rc
Component: Mercurial
Product: Mercurial
The following script leads to a broken dirstate in case the commit message for
hg ci --amend is empty.
$ hg init test
$ cd test
$ echo a > a
$ hg add a
$ hg commit -m'a'
$ echo b > b
$ hg add b
$ hg commit -m'b'
$ echo bb > b
$ hg commit --amend // REMOVE COMMIT MESSAGE
transaction abort!
rollback completed
abort: empty commit message
$ hg st
warning: ignoring unknown working parent bf09913437fb!
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list