equal
deleted
inserted
replaced
10 # | |/ |
10 # | |/ |
11 # | o 1:44592833ba9f |
11 # | o 1:44592833ba9f |
12 # |/ |
12 # |/ |
13 # o 0:b608b9236435 |
13 # o 0:b608b9236435 |
14 |
14 |
|
15 $ mkdir b1 |
|
16 $ cd b1 |
15 $ hg init |
17 $ hg init |
16 $ echo foo > foo |
18 $ echo foo > foo |
17 $ echo zero > a |
19 $ echo zero > a |
18 $ hg init sub |
20 $ hg init sub |
19 $ echo suba > sub/suba |
21 $ echo suba > sub/suba |
44 | |/ |
46 | |/ |
45 | o 1:0786582aa4b1 |
47 | o 1:0786582aa4b1 |
46 |/ |
48 |/ |
47 o 0:60829823a42a |
49 o 0:60829823a42a |
48 |
50 |
|
51 |
|
52 Make sure update doesn't assume b1 is a repository if invoked from outside: |
|
53 |
|
54 $ cd .. |
|
55 $ hg update b1 |
|
56 abort: no repository found in '$TESTTMP' (.hg not found)! |
|
57 [255] |
|
58 $ cd b1 |
49 |
59 |
50 Test helper functions: |
60 Test helper functions: |
51 |
61 |
52 $ revtest () { |
62 $ revtest () { |
53 > msg=$1 |
63 > msg=$1 |