comparison tests/test-clone-failure.t @ 13956:ffb5c09ba822

tests: remove redundant mkdir There are still many tests that check that a bare 'hg init' initializes the current directory.
author Martin Geisler <mg@lazybytes.net>
date Tue, 19 Apr 2011 12:04:44 +0200
parents bdb73eede5fb
children a1914d214579
comparison
equal deleted inserted replaced
13954:1184bb274cb3 13956:ffb5c09ba822
19 abort: repository a not found! 19 abort: repository a not found!
20 [255] 20 [255]
21 21
22 Inaccessible destination 22 Inaccessible destination
23 23
24 $ mkdir b 24 $ hg init b
25 $ cd b 25 $ cd b
26 $ hg init
27 $ hg clone . ../a 26 $ hg clone . ../a
28 abort: Permission denied: ../a 27 abort: Permission denied: ../a
29 [255] 28 [255]
30 $ cd .. 29 $ cd ..
31 $ chmod 700 a 30 $ chmod 700 a
42 > fi 41 > fi
43 abort: repository a not found! 42 abort: repository a not found!
44 43
45 Default destination, same directory 44 Default destination, same directory
46 45
47 $ mkdir q 46 $ hg init q
48 $ cd q
49 $ hg init
50 $ cd ..
51 $ hg clone q 47 $ hg clone q
52 destination directory: q 48 destination directory: q
53 abort: destination 'q' is not empty 49 abort: destination 'q' is not empty
54 [255] 50 [255]
55 51