Show More
@@ -1583,7 +1583,7 b' class queue:' | |||||
1583 | text = sys.stdin.read() |
|
1583 | text = sys.stdin.read() | |
1584 | else: |
|
1584 | else: | |
1585 | text = url.open(self.ui, filename).read() |
|
1585 | text = url.open(self.ui, filename).read() | |
1586 | except IOError: |
|
1586 | except (OSError, IOError): | |
1587 | raise util.Abort(_("unable to read %s") % filename) |
|
1587 | raise util.Abort(_("unable to read %s") % filename) | |
1588 | if not patchname: |
|
1588 | if not patchname: | |
1589 | patchname = normname(os.path.basename(filename)) |
|
1589 | patchname = normname(os.path.basename(filename)) |
@@ -25,7 +25,7 b' hg init repo' | |||||
25 | cd repo |
|
25 | cd repo | |
26 |
|
26 | |||
27 | echo % qimport non-existing-file |
|
27 | echo % qimport non-existing-file | |
28 | hg qimport non-existing-file 2>&1 | sed -e 's/\(No such file or directory:\) .*/\1/' |
|
28 | hg qimport non-existing-file | |
29 |
|
29 | |||
30 | echo % import URL |
|
30 | echo % import URL | |
31 | echo foo >> foo |
|
31 | echo foo >> foo |
General Comments 0
You need to be logged in to leave comments.
Login now