[issue2497] hg commit sometimes and inconsistently ignore the -m argument

eno bugs at mercurial.selenic.com
Mon Nov 15 15:05:01 UTC 2010


New submission from eno <eno at open-lab.org>:

In the following transcript the first execution of "hg commit -m ..."
commits *all* changes, not only the changes denoted on the command line.
After a rollback "hg commit -m ..." works as expected.

~/mpcp [default] > hg stat
M app/models/audio_component.rb
M app/models/technical_format.rb
M app/models/technical_format/file_format.rb
M app/views/gallery/_technical_format.html.erb
M doc/issues.mdown
M test/unit/audio_track_test.rb
? a.rb
? app/models/subtitle_track.rb
? lib/tasks/safe.rake
? script/cache_assets
? script/diff_stat.rb
? script/process_errors.rb
? script/uncache_assets
? tooltip.patch
~/mpcp [default] > hg commit app/models/ test/unit/ -m "Fixes generation of
compatible FileFormat for Tape ingest, see #4279"
~/mpcp [default] > hg stat
? a.rb
? app/models/subtitle_track.rb
? lib/tasks/safe.rake
? script/cache_assets
? script/diff_stat.rb
? script/process_errors.rb
? script/uncache_assets
? tooltip.patch
~/mpcp [default] > hg rollback
rolling back to revision 14108 (undo commit)
~/mpcp [default] > hg commit app/models/ test/unit/ -m "Fixes generation of
compatible FileFormat for Tape ingest, see #4279"
~/mpcp [default] > hg stat
M app/views/gallery/_technical_format.html.erb
M doc/issues.mdown
? a.rb
? app/models/subtitle_track.rb
? lib/tasks/safe.rake
? script/cache_assets
? script/diff_stat.rb
? script/process_errors.rb
? script/uncache_assets
? tooltip.patch
~/mpcp [default] > hg --version
Mercurial Distributed SCM (version 1.6+20100701)

Copyright (C) 2005-2010 Matt Mackall <mpm at selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~/mpcp [default] >

----------
messages: 14404
nosy: eno
priority: bug
status: unread
title: hg commit sometimes and inconsistently ignore the -m argument

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


More information about the Mercurial-devel mailing list