tests/test-share.t
changeset 15101 a21ccf4412d5
parent 15080 574dc5d74f9b
child 15446 c5c9ca3719f9
--- a/tests/test-share.t	Wed Sep 07 10:24:26 2011 -0400
+++ b/tests/test-share.t	Wed Sep 14 22:28:27 2011 -0400
@@ -28,6 +28,15 @@
   $ cat .hg/sharedpath; echo
   $TESTTMP/repo1/.hg
 
+trailing newline on .hg/sharedpath is ok
+  $ hg tip -q
+  0:d3873e73d99e
+  $ echo '' >> .hg/sharedpath
+  $ cat .hg/sharedpath
+  $TESTTMP/repo1/.hg
+  $ hg tip -q
+  0:d3873e73d99e
+
 commit in shared clone
 
   $ echo a >> a