# HG changeset patch # User Adrian Buehlmann # Date 1291173707 -3600 # Node ID 5986f44ea63c600346d925c4d563cb1058e4ebb9 # Parent 1cfaf11c63988b0bbeca2f815c276638b7efc4b5 test-clone.t: add basic cases for destination '' The case $ hg clone a '' already aborted before 2649be11ab0b, whereas $ hg clone --pull a '' tripped the fixed issue2528. Both basic cases are expected to fail with an abort. diff -r 1cfaf11c6398 -r 5986f44ea63c tests/test-clone.t --- 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