--- a/tests/test-globalopts Tue Jun 26 18:35:31 2007 +0200
+++ b/tests/test-globalopts Tue Jun 26 18:39:28 2007 +0200
@@ -28,6 +28,15 @@
echo %% abbrev of long option
hg --repo c tip
+echo "%% earlygetopt with duplicate options (36d23de02da1)"
+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
+hg -q -Rb tip
+hg -qRc tip
+
echo %% --cwd
hg --cwd a parents
--- a/tests/test-globalopts.out Tue Jun 26 18:35:31 2007 +0200
+++ b/tests/test-globalopts.out Tue Jun 26 18:39:28 2007 +0200
@@ -32,6 +32,24 @@
date: Thu Jan 01 00:00:01 1970 +0000
summary: b
+%% earlygetopt with duplicate options (36d23de02da1)
+changeset: 1:b6c483daf290
+tag: tip
+parent: -1:000000000000
+user: test
+date: Thu Jan 01 00:00:01 1970 +0000
+summary: b
+
+changeset: 0:8580ff50825a
+tag: tip
+user: test
+date: Thu Jan 01 00:00:01 1970 +0000
+summary: a
+
+%% earlygetopt short option without spaces (79cc512a34ed)
+0:8580ff50825a
+0:b6c483daf290
+1:b6c483daf290
%% --cwd
changeset: 0:8580ff50825a
tag: tip