Show More
@@ -183,8 +183,8 b' def _runcatch(req):' | |||||
183 | else: |
|
183 | else: | |
184 | raise |
|
184 | raise | |
185 | except OSError, inst: |
|
185 | except OSError, inst: | |
186 | if getattr(inst, "filename", None): |
|
186 | if getattr(inst, "filename", None) is not None: | |
187 | ui.warn(_("abort: %s: %s\n") % (inst.strerror, inst.filename)) |
|
187 | ui.warn(_("abort: %s: '%s'\n") % (inst.strerror, inst.filename)) | |
188 | else: |
|
188 | else: | |
189 | ui.warn(_("abort: %s\n") % inst.strerror) |
|
189 | ui.warn(_("abort: %s\n") % inst.strerror) | |
190 | except KeyboardInterrupt: |
|
190 | except KeyboardInterrupt: |
@@ -86,7 +86,7 b' attack /tmp/test' | |||||
86 | $ hg manifest -r4 |
|
86 | $ hg manifest -r4 | |
87 | /tmp/test |
|
87 | /tmp/test | |
88 | $ hg update -Cr4 |
|
88 | $ hg update -Cr4 | |
89 |
abort: *: $ |
|
89 | abort: *: '$TESTTMP/target//tmp/test' (glob) | |
90 | [255] |
|
90 | [255] | |
91 |
|
91 | |||
92 | $ cd .. |
|
92 | $ cd .. |
@@ -558,7 +558,7 b' Inaccessible destination' | |||||
558 | $ hg init b |
|
558 | $ hg init b | |
559 | $ cd b |
|
559 | $ cd b | |
560 | $ hg clone . ../a |
|
560 | $ hg clone . ../a | |
561 | abort: Permission denied: ../a |
|
561 | abort: Permission denied: '../a' | |
562 | [255] |
|
562 | [255] | |
563 | $ cd .. |
|
563 | $ cd .. | |
564 | $ chmod 700 a |
|
564 | $ chmod 700 a |
@@ -316,7 +316,7 b' conversion to dir without permissions sh' | |||||
316 | $ chmod 000 bogusdir |
|
316 | $ chmod 000 bogusdir | |
317 |
|
317 | |||
318 | $ hg convert a bogusdir |
|
318 | $ hg convert a bogusdir | |
319 | abort: Permission denied: bogusdir |
|
319 | abort: Permission denied: 'bogusdir' | |
320 | [255] |
|
320 | [255] | |
321 |
|
321 | |||
322 | user permissions should succeed |
|
322 | user permissions should succeed |
General Comments 0
You need to be logged in to leave comments.
Login now