Show More
@@ -1885,6 +1885,8 b' class queue(object):' | |||||
1885 | 'files')) |
|
1885 | 'files')) | |
1886 | rev = scmutil.revrange(repo, rev) |
|
1886 | rev = scmutil.revrange(repo, rev) | |
1887 | rev.sort(reverse=True) |
|
1887 | rev.sort(reverse=True) | |
|
1888 | elif not files: | |||
|
1889 | raise util.Abort(_('no files or revisions specified')) | |||
1888 | if (len(files) > 1 or len(rev) > 1) and patchname: |
|
1890 | if (len(files) > 1 or len(rev) > 1) and patchname: | |
1889 | raise util.Abort(_('option "-n" not valid when importing multiple ' |
|
1891 | raise util.Abort(_('option "-n" not valid when importing multiple ' | |
1890 | 'patches')) |
|
1892 | 'patches')) |
@@ -22,6 +22,12 b'' | |||||
22 | $ hg init repo |
|
22 | $ hg init repo | |
23 | $ cd repo |
|
23 | $ cd repo | |
24 |
|
24 | |||
|
25 | qimport without file or revision | |||
|
26 | ||||
|
27 | $ hg qimport | |||
|
28 | abort: no files or revisions specified | |||
|
29 | [255] | |||
|
30 | ||||
25 | qimport non-existing-file |
|
31 | qimport non-existing-file | |
26 |
|
32 | |||
27 | $ hg qimport non-existing-file |
|
33 | $ hg qimport non-existing-file |
General Comments 0
You need to be logged in to leave comments.
Login now