[issue3420] Editing a file between hg commit and the actual commit

romkyns bugs at mercurial.selenic.com
Thu May 3 05:48:29 CDT 2012


New submission from romkyns <ws.selenic at starkov.name>:

Mercurial behaves inconsistently if a file is edited while the commit
message editor is open.

Correct alternative 1: The change is completely bundled up, and only the
commit message is pending. Any further edits at this point make no
difference to what ends up committed.

Correct alternative 2: Nothing is done until the commit message is entered.
Once it's entered, the commit operation goes ahead, committing all changed
files.

Current, inconsistent behaviour: any further edits to files that already had
edits in them will be committed, but any further edits to files which
weren't edited before "hg commit" was issued will be ignored.

The current behaviour goes against the nature of "hg commit", namely
committing all files that differ to the repo.

----------
messages: 19869
nosy: romkyns
priority: bug
status: unread
title: Editing a file between hg commit and the actual commit

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3420>
____________________________________________________


More information about the Mercurial-devel mailing list