[issue2464] qnew directory/ should fail early; qnew existing_directory should provide a better error
timeless
bugs at mercurial.selenic.com
Fri Oct 29 10:17:55 UTC 2010
New submission from timeless <timeless at gmail.com>:
@@ -6,11 +6,13 @@
$ hg init x
$ cd x
$ hg qnew foo/
- abort: "foo/" cannot be used as the name of a patch
+ abort: Is a directory: /tmp/x/.hg/patches/foo/
[255]
$ hg qnew foo
+ abort: patch "foo" already exists
+ [255]
$ hg qnew bar/bie
$ hg qnew bar
- abort: "bar" already exists as a directory
+ abort: patch "bar" already exists
[255]
!
----------
assignedto: mg
messages: 14227
nosy: mg, timeless
priority: bug
status: unread
title: qnew directory/ should fail early; qnew existing_directory should provide a better error
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2464>
____________________________________________________
More information about the Mercurial-devel
mailing list