[issue1269] hg qnew does not seem to check if the patch file was created successfully

mcsmurf mercurial-bugs at selenic.com
Tue Aug 19 17:08:34 CDT 2008


New submission from mcsmurf <bugzilla at mcsmurf.de>:

Creating a new patch in the queue with the hg qnew command does not seem to
check if creating the file may have failed. I entered the command "hg qnew
foo:bar" under Windows  that gave this output (f:\ is formatted as NTFS):
abort: The filename, directory name, or volume label syntax is incorrect
f:\tree-hg\src\.hg\patches\foo:bar
But when I enter hg outgoing, this patch shows up with summary "[mq]: foo:bar".
hg should probably check if creating the file has failed and then not do
anything further. Workaround was to hg rollback this command.

----------
messages: 6802
nosy: mcsmurf
priority: bug
status: unread
title: hg qnew does not seem to check if the patch file was created successfully

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



More information about the Mercurial-devel mailing list