Mercurial > hg > mercurial-crew-with-dirclash
diff tests/test-globalopts @ 4732:b0520e3903fe
Disallow short earlygetop option combined with other short options
While "hg commit -qRfoo" can be read as "--quiet --repository foo",
"hg commit -mRfoo" should be "--message Rfoo".
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 27 Jun 2007 20:37:33 +0200 |
parents | 7bb5bcb089e3 |
children | 9ac493f12901 |
line wrap: on
line diff
--- a/tests/test-globalopts +++ b/tests/test-globalopts @@ -32,10 +32,8 @@ echo "%% earlygetopt with duplicate opti hg --cwd a --cwd b --cwd c tip hg --repo c --repository b -R a tip -echo "%% earlygetopt short option without spaces (79cc512a34ed)" -hg -qR a tip +echo "%% earlygetopt short option without following space" hg -q -Rb tip -hg -qRc tip echo %% --cwd hg --cwd a parents