tests/test-commandserver.t
changeset 26142 7332bf4ae959
parent 25290 8f88f768e24c
child 26251 5c0f5db65c6b
--- a/tests/test-commandserver.t	Tue Sep 01 16:38:52 2015 +0900
+++ b/tests/test-commandserver.t	Mon Aug 31 23:29:15 2015 +0900
@@ -589,6 +589,15 @@
   000000000000 tip
 
 
+don't fall back to cwd if invalid -R path is specified (issue4805):
+
+  $ cd repo
+  $ hg serve --cmdserver pipe -R ../nonexistent
+  abort: repository ../nonexistent not found!
+  [255]
+  $ cd ..
+
+
 unix domain socket:
 
   $ cd repo