equal
deleted
inserted
replaced
1 $ hg init a |
|
2 $ cd a |
|
3 $ echo a > a |
|
4 $ hg ci -Am0 |
|
5 adding a |
|
6 $ echo b > b |
|
7 $ hg ci -Am1 |
|
8 adding b |
|
9 $ hg tag -r0 default |
|
10 warning: tag default conflicts with existing branch name |
|
11 $ hg log |
|
12 changeset: 2:30a83d1e4a1e |
|
13 tag: tip |
|
14 user: test |
|
15 date: Thu Jan 01 00:00:00 1970 +0000 |
|
16 summary: Added tag default for changeset f7b1eb17ad24 |
|
17 |
|
18 changeset: 1:925d80f479bb |
|
19 user: test |
|
20 date: Thu Jan 01 00:00:00 1970 +0000 |
|
21 summary: 1 |
|
22 |
|
23 changeset: 0:f7b1eb17ad24 |
|
24 tag: default |
|
25 user: test |
|
26 date: Thu Jan 01 00:00:00 1970 +0000 |
|
27 summary: 0 |
|
28 |
|
29 $ hg update 'tag(default)' |
|
30 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
31 $ hg parents |
|
32 changeset: 0:f7b1eb17ad24 |
|
33 tag: default |
|
34 user: test |
|
35 date: Thu Jan 01 00:00:00 1970 +0000 |
|
36 summary: 0 |
|
37 |
|
38 $ hg update 'branch(default)' |
|
39 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
40 $ hg parents |
|
41 changeset: 2:30a83d1e4a1e |
|
42 tag: tip |
|
43 user: test |
|
44 date: Thu Jan 01 00:00:00 1970 +0000 |
|
45 summary: Added tag default for changeset f7b1eb17ad24 |
|
46 |
|
47 |
|
48 $ cd .. |
|