tests/test-globalopts.t
changeset 12635 45ef87f41f98
parent 12376 97ffc68f71d3
child 12637 42ca7aef28d3
--- a/tests/test-globalopts.t	Wed Oct 06 23:07:52 2010 +0300
+++ b/tests/test-globalopts.t	Mon Oct 04 14:26:37 2010 -0500
@@ -52,6 +52,20 @@
   summary:     b
   
 
+-R with a URL:
+
+  $ hg -R file:a identify
+  8580ff50825a tip
+  $ hg -R file://localhost/`pwd`/a/ identify
+  8580ff50825a tip
+
+-R with a path alias:
+
+  $ cd c
+  $ hg -R default identify
+  8580ff50825a tip
+  $ cd ..
+
 Implicit -R:
 
   $ hg ann a/a