Mercurial > hg
comparison tests/test-issue842.t @ 12195:ee41be2bbf5a
tests: unify test-issue*
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 03 Sep 2010 23:34:37 +0200 |
parents | tests/test-issue842@cb93eee1fbcd |
children | b63f6422d2a7 |
comparison
equal
deleted
inserted
replaced
12194:9e40ea08c2ab | 12195:ee41be2bbf5a |
---|---|
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 |