[issue2605] Commit message starting with "-Re" fails

Daniel Atallah bugs at mercurial.selenic.com
Wed Jan 26 03:05:22 UTC 2011


New submission from Daniel Atallah <daniel.atallah at gmail.com>:

Attempting to commit using a commit message starting with "-Re" (e.g. `hg 
commit -m "-Removed foobar"` results in an error ("hg commit: option -m 
requires argument").

It appears that despite the message argument being quoted, it is being 
evaluated at some level as "-R" (--repository) and not being used as the 
argument of the "-m" option.

----------
messages: 14998
nosy: datallah
priority: bug
status: unread
title: Commit message starting with "-Re" fails

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


More information about the Mercurial-devel mailing list