diff tests/test-ssh.t @ 17260:e432fb4b4221 stable

tag: don't allow tagging the null revision (issue1915) Also fixed the tests that were doing this and expected it to work
author Brad Hall <bhall@fb.com>
date Tue, 05 Jun 2012 17:00:13 -0700
parents 28ed1c4511ce
children 59c14bf5a48c
line wrap: on
line diff
--- a/tests/test-ssh.t	Thu Jul 26 13:58:43 2012 +0900
+++ b/tests/test-ssh.t	Tue Jun 05 17:00:13 2012 -0700
@@ -278,9 +278,12 @@
 Test remote paths with spaces (issue2983):
 
   $ hg init --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
+  $ touch "$TESTTMP/a repo/test"
+  $ hg -R 'a repo' commit -A -m "test"
+  adding test
   $ hg -R 'a repo' tag tag
   $ hg id --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
-  3fb238f49e8c
+  73649e48688a
 
 Test hg-ssh using a helper script that will restore PYTHONPATH (which might
 have been cleared by a hg.exe wrapper) and invoke hg-ssh with the right
@@ -296,7 +299,7 @@
   > EOF
 
   $ hg id --ssh "sh ssh.sh" "ssh://user@dummy/a repo"
-  3fb238f49e8c
+  73649e48688a
 
   $ hg id --ssh "sh ssh.sh" "ssh://user@dummy/a'repo"
   remote: Illegal repository "$TESTTMP/a'repo" (glob)