equal
deleted
inserted
replaced
|
1 # http://mercurial.selenic.com/bts/issue842 |
|
2 |
|
3 $ hg init |
|
4 $ echo foo > a |
|
5 $ hg ci -Ama |
|
6 adding a |
|
7 |
|
8 $ hg up -r0000 |
|
9 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
10 |
|
11 $ echo bar > a |
|
12 |
|
13 Should issue new head warning: |
|
14 |
|
15 $ hg ci -Amb |
|
16 adding a |
|
17 created new head |
|
18 |
|
19 $ hg up -r0000 |
|
20 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
21 |
|
22 $ echo stuffy > a |
|
23 |
|
24 Should not issue new head warning: |
|
25 |
|
26 $ hg ci -q -Amc |
|
27 |
|
28 $ hg up -r0000 |
|
29 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
30 |
|
31 $ echo crap > a |
|
32 $ hg branch testing |
|
33 marked working directory as branch testing |
|
34 |
|
35 Should not issue warning: |
|
36 |
|
37 $ hg ci -q -Amd |
|
38 |