Show More
@@ -380,7 +380,7 b' def fancyopts(args, options, state, gnu=' | |||||
380 | else: |
|
380 | else: | |
381 |
|
381 | |||
382 | def abort(s): |
|
382 | def abort(s): | |
383 |
raise error. |
|
383 | raise error.InputError( | |
384 | _(b'invalid value %r for option %s, %s') |
|
384 | _(b'invalid value %r for option %s, %s') | |
385 | % (pycompat.maybebytestr(val), opt, s) |
|
385 | % (pycompat.maybebytestr(val), opt, s) | |
386 | ) |
|
386 | ) |
@@ -1036,7 +1036,7 b' test -p0' | |||||
1036 | adding a |
|
1036 | adding a | |
1037 | $ hg import -p foo |
|
1037 | $ hg import -p foo | |
1038 | abort: invalid value 'foo' for option -p, expected int |
|
1038 | abort: invalid value 'foo' for option -p, expected int | |
1039 |
[ |
|
1039 | [10] | |
1040 | $ hg import -p0 - << EOF |
|
1040 | $ hg import -p0 - << EOF | |
1041 | > foobar |
|
1041 | > foobar | |
1042 | > --- a Sat Apr 12 22:43:58 2008 -0400 |
|
1042 | > --- a Sat Apr 12 22:43:58 2008 -0400 |
General Comments 0
You need to be logged in to leave comments.
Login now