diff tests/test-ssh.t @ 21188:d36440d84328 stable

httppeer: reintroduce _abort that accidentally was removed in 167047ba3cfa Including the missing test coverage that would have caught it.
author Mads Kiilerich <madski@unity3d.com>
date Wed, 23 Apr 2014 23:29:55 +0200
parents 8a9e0b523d2d
children 8341c677c204
line wrap: on
line diff
--- a/tests/test-ssh.t	Mon Apr 21 16:13:15 2014 -0700
+++ b/tests/test-ssh.t	Wed Apr 23 23:29:55 2014 +0200
@@ -284,6 +284,10 @@
   $ hg id --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
   73649e48688a
 
+  $ hg id --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo#noNoNO"
+  abort: unknown revision 'noNoNO'!
+  [255]
+
 Test (non-)escaping of remote paths with spaces when cloning (issue3145):
 
   $ hg clone --ssh "python \"$TESTDIR/dummyssh\"" "ssh://user@dummy/a repo"
@@ -382,3 +386,4 @@
   Got arguments 1:user@dummy 2:hg -R 'a repo' serve --stdio
   Got arguments 1:user@dummy 2:hg -R 'a repo' serve --stdio
   Got arguments 1:user@dummy 2:hg -R 'a repo' serve --stdio
+  Got arguments 1:user@dummy 2:hg -R 'a repo' serve --stdio