comparison tests/test-flags.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 4c94b6d0fb1c
children ec5886db9dc6
comparison
equal deleted inserted replaced
13954:1184bb274cb3 13956:ffb5c09ba822
1 $ umask 027 1 $ umask 027
2 $ mkdir test1 2
3 $ hg init test1
3 $ cd test1 4 $ cd test1
4
5 $ hg init
6 $ touch a b 5 $ touch a b
7 $ hg add a b 6 $ hg add a b
8 $ hg ci -m "added a b" 7 $ hg ci -m "added a b"
9 8
10 $ cd .. 9 $ cd ..
11 $ hg clone test1 test3 10 $ hg clone test1 test3
12 updating to branch default 11 updating to branch default
13 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 12 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
14 $ mkdir test2 13
14 $ hg init test2
15 $ cd test2 15 $ cd test2
16
17 $ hg init
18 $ hg pull ../test1 16 $ hg pull ../test1
19 pulling from ../test1 17 pulling from ../test1
20 requesting all changes 18 requesting all changes
21 adding changesets 19 adding changesets
22 adding manifests 20 adding manifests