Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-issue436 @ 4716:36d23de02da1
Make earlygetopt return a list of all option values, use the last value.
This fixes:
"hg -R" showing a useful error instead of traceback
"hg -R foo --repository bar" using bar instead of foo
And provides a way for other users of earlygetopt to accept more than
one value.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 25 Jun 2007 22:08:10 +0200 |
parents | f9567a7fa3b3 |
children |
rev | line source |
---|---|
3743
68cddfbbe737
add test for issue436
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
1 #!/bin/sh |
68cddfbbe737
add test for issue436
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
2 |
68cddfbbe737
add test for issue436
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
3 hg init a |
68cddfbbe737
add test for issue436
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
4 cd a |
3749
f9567a7fa3b3
additional fixes for issue436
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
3743
diff
changeset
|
5 hg -v log -v |
3743
68cddfbbe737
add test for issue436
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
6 hg -v log -v x |
68cddfbbe737
add test for issue436
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff
changeset
|
7 true |