Show More
@@ -273,7 +273,7 b' def checkportable(ui, f):' | |||
|
273 | 273 | if abort or warn: |
|
274 | 274 | msg = util.checkwinfilename(f) |
|
275 | 275 | if msg: |
|
276 |
msg = "%s: % |
|
|
276 | msg = "%s: %s" % (msg, util.shellquote(f)) | |
|
277 | 277 | if abort: |
|
278 | 278 | raise error.Abort(msg) |
|
279 | 279 | ui.warn(_("warning: %s\n") % msg) |
@@ -44,14 +44,14 b' should fail' | |||
|
44 | 44 | abort: ui.portablefilenames value is invalid ('jump') |
|
45 | 45 | [255] |
|
46 | 46 | $ hg --config ui.portablefilenames=abort add con.xml |
|
47 |
abort: filename contains 'con', which is reserved on Windows: |
|
|
47 | abort: filename contains 'con', which is reserved on Windows: con.xml | |
|
48 | 48 | [255] |
|
49 | 49 |
$ |
|
50 | 50 | A a |
|
51 | 51 | A b |
|
52 | 52 | ? con.xml |
|
53 | 53 | $ hg add con.xml |
|
54 |
warning: filename contains 'con', which is reserved on Windows: |
|
|
54 | warning: filename contains 'con', which is reserved on Windows: con.xml | |
|
55 | 55 |
$ |
|
56 | 56 | A a |
|
57 | 57 | A b |
@@ -15,7 +15,7 b'' | |||
|
15 | 15 | $ hg status |
|
16 | 16 | $ hg copy a b |
|
17 | 17 | $ hg --config ui.portablefilenames=abort copy a con.xml |
|
18 |
abort: filename contains 'con', which is reserved on Windows: |
|
|
18 | abort: filename contains 'con', which is reserved on Windows: con.xml | |
|
19 | 19 | [255] |
|
20 | 20 |
$ |
|
21 | 21 | A b |
@@ -12,7 +12,7 b' rename a single file' | |||
|
12 | 12 | |
|
13 | 13 | $ hg rename d1/d11/a1 d2/c |
|
14 | 14 | $ hg --config ui.portablefilenames=abort rename d1/a d1/con.xml |
|
15 |
abort: filename contains 'con', which is reserved on Windows: |
|
|
15 | abort: filename contains 'con', which is reserved on Windows: d1/con.xml | |
|
16 | 16 | [255] |
|
17 | 17 |
$ |
|
18 | 18 | parent: 0:9b4b6e7b2c26 tip |
General Comments 0
You need to be logged in to leave comments.
Login now