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