Mercurial > hg
comparison tests/test-children.out @ 4783:8b90d763ea90
Add extension to provide the 'hg children' command (with tests)
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 03 Jul 2007 12:14:25 +0200 |
parents | |
children | be78ab217109 |
comparison
equal
deleted
inserted
replaced
4782:37e11c768db9 | 4783:8b90d763ea90 |
---|---|
1 % init | |
2 % no working directory | |
3 abort: All non-merge changesets are children of the null revision! | |
4 % setup | |
5 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | |
6 % hg children at revision 3 (tip) | |
7 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
8 % hg children at nullrev (should be 0 and 3) | |
9 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
10 % hg children at revision 1 (should be 2) | |
11 changeset: 2:8f5eea5023c2 | |
12 user: test | |
13 date: Thu Jan 01 00:00:02 1970 +0000 | |
14 summary: 2 | |
15 | |
16 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
17 % hg children at revision 2 (other head) | |
18 % hg children -r null | |
19 abort: All non-merge changesets are children of the null revision! | |
20 % hg children -r 0 | |
21 changeset: 1:708c093edef0 | |
22 user: test | |
23 date: Thu Jan 01 00:00:01 1970 +0000 | |
24 summary: 1 | |
25 | |
26 % hg children -r 1 | |
27 changeset: 2:8f5eea5023c2 | |
28 user: test | |
29 date: Thu Jan 01 00:00:02 1970 +0000 | |
30 summary: 2 | |
31 | |
32 % hg children -r 2 | |
33 % hg children -r 3 | |
34 % hg children -r 0 file0 (should be 2) | |
35 changeset: 2:8f5eea5023c2 | |
36 user: test | |
37 date: Thu Jan 01 00:00:02 1970 +0000 | |
38 summary: 2 | |
39 | |
40 % hg children -r 1 file0 (should be 2) | |
41 changeset: 2:8f5eea5023c2 | |
42 user: test | |
43 date: Thu Jan 01 00:00:02 1970 +0000 | |
44 summary: 2 | |
45 | |
46 1 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
47 % hg children file0 at revision 0 (should be 2) | |
48 changeset: 2:8f5eea5023c2 | |
49 user: test | |
50 date: Thu Jan 01 00:00:02 1970 +0000 | |
51 summary: 2 | |
52 |