tests/test-clone.t
branchstable
changeset 13058 5986f44ea63c
parent 12847 b00eda50ad2b
child 13956 ffb5c09ba822
--- a/tests/test-clone.t	Wed Dec 01 10:52:31 2010 +0100
+++ b/tests/test-clone.t	Wed Dec 01 04:21:47 2010 +0100
@@ -41,6 +41,12 @@
   checking files
   2 files, 11 changesets, 11 total revisions
 
+Invalid dest '' must abort:
+
+  $ hg clone . ''
+  abort: No such file or directory
+  [255]
+
 No update, with debug option:
 
   $ hg --debug clone -U . ../c
@@ -99,6 +105,12 @@
   checking files
   2 files, 11 changesets, 11 total revisions
 
+Invalid dest '' with --pull must abort (issue2528):
+
+  $ hg clone --pull a ''
+  abort: No such file or directory
+  [255]
+
 Clone to '.':
 
   $ mkdir h