author | Martin von Zweigbergk <martinvonz@google.com> |
Wed, 09 Dec 2020 20:22:25 -0800 | |
changeset 46115 | be3d8178251e |
parent 46092 | 08fd76a553c9 |
child 46798 | f51ff655d338 |
permissions | -rw-r--r-- |
38433
ddce7bdf7f3c
tests: extract test-template-map.t from test-command-template.t
Yuya Nishihara <yuya@tcha.org>
parents:
38427
diff
changeset
|
1 |
Test template map files and styles |
ddce7bdf7f3c
tests: extract test-template-map.t from test-command-template.t
Yuya Nishihara <yuya@tcha.org>
parents:
38427
diff
changeset
|
2 |
================================== |
ddce7bdf7f3c
tests: extract test-template-map.t from test-command-template.t
Yuya Nishihara <yuya@tcha.org>
parents:
38427
diff
changeset
|
3 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
4 |
$ hg init a |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
5 |
$ cd a |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
6 |
$ echo a > a |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
7 |
$ hg add a |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
8 |
$ echo line 1 > b |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
9 |
$ echo line 2 >> b |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
10 |
$ hg commit -l b -d '1000000 0' -u 'User Name <user@hostname>' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
11 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
12 |
$ hg add b |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
13 |
$ echo other 1 > c |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
14 |
$ echo other 2 >> c |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
15 |
$ echo >> c |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
16 |
$ echo other 3 >> c |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
17 |
$ hg commit -l c -d '1100000 0' -u 'A. N. Other <other@place>' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
18 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
19 |
$ hg add c |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
20 |
$ hg commit -m 'no person' -d '1200000 0' -u 'other@place' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
21 |
$ echo c >> c |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
22 |
$ hg commit -m 'no user, no domain' -d '1300000 0' -u 'person' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
23 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
24 |
$ echo foo > .hg/branch |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
25 |
$ hg commit -m 'new branch' -d '1400000 0' -u 'person' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
26 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
27 |
$ hg co -q 3 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
28 |
$ echo other 4 >> d |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
29 |
$ hg add d |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
30 |
$ hg commit -m 'new head' -d '1500000 0' -u 'person' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
31 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
32 |
$ hg merge -q foo |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
33 |
$ hg commit -m 'merge' -d '1500001 0' -u 'person' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
34 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
35 |
Second branch starting at nullrev: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
36 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
37 |
$ hg update null |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
38 |
0 files updated, 0 files merged, 4 files removed, 0 files unresolved |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
39 |
$ echo second > second |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
40 |
$ hg add second |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
41 |
$ hg commit -m second -d '1000000 0' -u 'User Name <user@hostname>' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
42 |
created new head |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
43 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
44 |
$ echo third > third |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
45 |
$ hg add third |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
46 |
$ hg mv second fourth |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
47 |
$ hg commit -m third -d "2020-01-01 10:01" |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
48 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
49 |
Make sure user/global hgrc does not affect tests |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
50 |
|
45765
ed84a4d48910
config: add a new [command-templates] section for templates defined by hg
Martin von Zweigbergk <martinvonz@google.com>
parents:
45259
diff
changeset
|
51 |
$ echo '[command-templates]' > .hg/hgrc |
ed84a4d48910
config: add a new [command-templates] section for templates defined by hg
Martin von Zweigbergk <martinvonz@google.com>
parents:
45259
diff
changeset
|
52 |
$ echo 'log =' >> .hg/hgrc |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
53 |
$ echo '[ui]' > .hg/hgrc |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
54 |
$ echo 'style =' >> .hg/hgrc |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
55 |
|
20668
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
56 |
Add some simple styles to settings |
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
57 |
|
32875
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
58 |
$ cat <<'EOF' >> .hg/hgrc |
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
59 |
> [templates] |
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
60 |
> simple = "{rev}\n" |
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
61 |
> simple2 = {rev}\n |
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
62 |
> rev = "should not precede {rev} keyword\n" |
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
63 |
> EOF |
20668
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
64 |
|
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
65 |
$ hg log -l1 -Tsimple |
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
66 |
8 |
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
67 |
$ hg log -l1 -Tsimple2 |
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
68 |
8 |
32875
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
69 |
$ hg log -l1 -Trev |
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
70 |
should not precede 8 keyword |
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
71 |
$ hg log -l1 -T '{simple}' |
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
72 |
8 |
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
73 |
|
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
74 |
Map file shouldn't see user templates: |
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
75 |
|
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
76 |
$ cat <<EOF > tmpl |
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
77 |
> changeset = 'nothing expanded:{simple}\n' |
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
78 |
> EOF |
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
79 |
$ hg log -l1 --style ./tmpl |
c8f2cf18b82e
formatter: load templates section like a map file
Yuya Nishihara <yuya@tcha.org>
parents:
32874
diff
changeset
|
80 |
nothing expanded: |
20668
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
81 |
|
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
82 |
Test templates and style maps in files: |
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
83 |
|
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
84 |
$ echo "{rev}" > tmpl |
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
85 |
$ hg log -l1 -T./tmpl |
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
86 |
8 |
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
87 |
$ hg log -l1 -Tblah/blah |
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
88 |
blah/blah (no-eol) |
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
89 |
|
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
90 |
$ printf 'changeset = "{rev}\\n"\n' > map-simple |
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
91 |
$ hg log -l1 -T./map-simple |
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
92 |
8 |
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
93 |
|
34715
f17a0e18c47e
templater: load aliases from [templatealias] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34714
diff
changeset
|
94 |
a map file may have [templates] and [templatealias] sections: |
34714
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
95 |
|
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
96 |
$ cat <<'EOF' > map-simple |
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
97 |
> [templates] |
34715
f17a0e18c47e
templater: load aliases from [templatealias] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34714
diff
changeset
|
98 |
> changeset = "{a}\n" |
f17a0e18c47e
templater: load aliases from [templatealias] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34714
diff
changeset
|
99 |
> [templatealias] |
f17a0e18c47e
templater: load aliases from [templatealias] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34714
diff
changeset
|
100 |
> a = rev |
34714
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
101 |
> EOF |
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
102 |
$ hg log -l1 -T./map-simple |
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
103 |
8 |
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
104 |
|
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
105 |
so it can be included in hgrc |
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
106 |
|
37418
afd7b0afe4a6
tests: don't drop global hgrc
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37404
diff
changeset
|
107 |
$ cat <<EOF > myhgrc |
afd7b0afe4a6
tests: don't drop global hgrc
Gregory Szorc <gregory.szorc@gmail.com>
parents:
37404
diff
changeset
|
108 |
> %include $HGRCPATH |
34714
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
109 |
> %include map-simple |
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
110 |
> [templates] |
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
111 |
> foo = "{changeset}" |
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
112 |
> EOF |
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
113 |
$ HGRCPATH=./myhgrc hg log -l1 -Tfoo |
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
114 |
8 |
34715
f17a0e18c47e
templater: load aliases from [templatealias] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34714
diff
changeset
|
115 |
$ HGRCPATH=./myhgrc hg log -l1 -T'{a}\n' |
f17a0e18c47e
templater: load aliases from [templatealias] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34714
diff
changeset
|
116 |
8 |
34714
f4aeb952ab77
templater: load template fragments from [templates] section in map file
Yuya Nishihara <yuya@tcha.org>
parents:
34659
diff
changeset
|
117 |
|
29848
b1f69dbdd76b
templater: add template path to __base__ search
Matt Mackall <mpm@selenic.com>
parents:
29817
diff
changeset
|
118 |
Test template map inheritance |
b1f69dbdd76b
templater: add template path to __base__ search
Matt Mackall <mpm@selenic.com>
parents:
29817
diff
changeset
|
119 |
|
b1f69dbdd76b
templater: add template path to __base__ search
Matt Mackall <mpm@selenic.com>
parents:
29817
diff
changeset
|
120 |
$ echo "__base__ = map-cmdline.default" > map-simple |
b1f69dbdd76b
templater: add template path to __base__ search
Matt Mackall <mpm@selenic.com>
parents:
29817
diff
changeset
|
121 |
$ printf 'cset = "changeset: ***{rev}***\\n"\n' >> map-simple |
b1f69dbdd76b
templater: add template path to __base__ search
Matt Mackall <mpm@selenic.com>
parents:
29817
diff
changeset
|
122 |
$ hg log -l1 -T./map-simple |
b1f69dbdd76b
templater: add template path to __base__ search
Matt Mackall <mpm@selenic.com>
parents:
29817
diff
changeset
|
123 |
changeset: ***8*** |
b1f69dbdd76b
templater: add template path to __base__ search
Matt Mackall <mpm@selenic.com>
parents:
29817
diff
changeset
|
124 |
tag: tip |
b1f69dbdd76b
templater: add template path to __base__ search
Matt Mackall <mpm@selenic.com>
parents:
29817
diff
changeset
|
125 |
user: test |
b1f69dbdd76b
templater: add template path to __base__ search
Matt Mackall <mpm@selenic.com>
parents:
29817
diff
changeset
|
126 |
date: Wed Jan 01 10:01:00 2020 +0000 |
b1f69dbdd76b
templater: add template path to __base__ search
Matt Mackall <mpm@selenic.com>
parents:
29817
diff
changeset
|
127 |
summary: third |
b1f69dbdd76b
templater: add template path to __base__ search
Matt Mackall <mpm@selenic.com>
parents:
29817
diff
changeset
|
128 |
|
45207
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
129 |
Test map inheritance with non-existent base |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
130 |
|
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
131 |
$ echo "__base__ = non-existent" > map-base-nonexistent |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
132 |
$ hg log -l1 -T./map-base-nonexistent |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
133 |
abort: style '$TESTTMP/a/non-existent' not found |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
134 |
(available styles: bisect, changelog, compact, default, phases, show, status, xml) |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
135 |
[255] |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
136 |
|
45222
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
137 |
Test map inheritance with directory as base |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
138 |
|
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
139 |
$ mkdir somedir |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
140 |
$ echo "__base__ = somedir" > map-base-dir |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
141 |
$ hg log -l1 -T./map-base-dir |
46073
b2a743c3abbb
tests: conditionalize a few Windows specific error messages
Matt Harbison <matt_harbison@yahoo.com>
parents:
45895
diff
changeset
|
142 |
abort: Is a directory: '$TESTTMP/a/somedir' (no-windows !) |
b2a743c3abbb
tests: conditionalize a few Windows specific error messages
Matt Harbison <matt_harbison@yahoo.com>
parents:
45895
diff
changeset
|
143 |
abort: $TESTTMP/a/somedir: Access is denied (windows !) |
45222
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
144 |
[255] |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
145 |
|
45206
db0be4678399
tests: add test for unqualified include of a built-in template map
Martin von Zweigbergk <martinvonz@google.com>
parents:
45055
diff
changeset
|
146 |
Test including a built-in template map |
db0be4678399
tests: add test for unqualified include of a built-in template map
Martin von Zweigbergk <martinvonz@google.com>
parents:
45055
diff
changeset
|
147 |
|
db0be4678399
tests: add test for unqualified include of a built-in template map
Martin von Zweigbergk <martinvonz@google.com>
parents:
45055
diff
changeset
|
148 |
$ cat <<'EOF' > map-include-builtin |
db0be4678399
tests: add test for unqualified include of a built-in template map
Martin von Zweigbergk <martinvonz@google.com>
parents:
45055
diff
changeset
|
149 |
> %include map-cmdline.default |
db0be4678399
tests: add test for unqualified include of a built-in template map
Martin von Zweigbergk <martinvonz@google.com>
parents:
45055
diff
changeset
|
150 |
> [templates] |
db0be4678399
tests: add test for unqualified include of a built-in template map
Martin von Zweigbergk <martinvonz@google.com>
parents:
45055
diff
changeset
|
151 |
> changeset = "{changeset_quiet}\n" |
db0be4678399
tests: add test for unqualified include of a built-in template map
Martin von Zweigbergk <martinvonz@google.com>
parents:
45055
diff
changeset
|
152 |
> EOF |
db0be4678399
tests: add test for unqualified include of a built-in template map
Martin von Zweigbergk <martinvonz@google.com>
parents:
45055
diff
changeset
|
153 |
$ hg log -l1 -T./map-include-builtin |
db0be4678399
tests: add test for unqualified include of a built-in template map
Martin von Zweigbergk <martinvonz@google.com>
parents:
45055
diff
changeset
|
154 |
8:95c24699272e |
db0be4678399
tests: add test for unqualified include of a built-in template map
Martin von Zweigbergk <martinvonz@google.com>
parents:
45055
diff
changeset
|
155 |
|
29848
b1f69dbdd76b
templater: add template path to __base__ search
Matt Mackall <mpm@selenic.com>
parents:
29817
diff
changeset
|
156 |
|
45207
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
157 |
Test including a nonexistent template map |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
158 |
BROKEN: This should probably be an error just like the bad __base__ above |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
159 |
|
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
160 |
$ cat <<'EOF' > map-include-nonexistent |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
161 |
> %include nonexistent |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
162 |
> [templates] |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
163 |
> changeset = "test\n" |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
164 |
> EOF |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
165 |
$ hg log -l1 -T./map-include-nonexistent |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
166 |
test |
4489e9a22763
tests: add test for bad template %include and __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45206
diff
changeset
|
167 |
|
45222
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
168 |
Test including a directory as template map |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
169 |
BROKEN: This should probably be an error just like the bad __base__ above |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
170 |
|
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
171 |
$ cat <<'EOF' > map-include-dir |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
172 |
> %include somedir |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
173 |
> [templates] |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
174 |
> changeset = "test\n" |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
175 |
> EOF |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
176 |
$ hg log -l1 -T./map-include-dir |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
177 |
test |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
178 |
|
32951
050efe9a1644
changeset_templater: backport separator template from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32875
diff
changeset
|
179 |
Test docheader, docfooter and separator in template map |
050efe9a1644
changeset_templater: backport separator template from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32875
diff
changeset
|
180 |
|
050efe9a1644
changeset_templater: backport separator template from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32875
diff
changeset
|
181 |
$ cat <<'EOF' > map-myjson |
050efe9a1644
changeset_templater: backport separator template from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32875
diff
changeset
|
182 |
> docheader = '\{\n' |
050efe9a1644
changeset_templater: backport separator template from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32875
diff
changeset
|
183 |
> docfooter = '\n}\n' |
050efe9a1644
changeset_templater: backport separator template from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32875
diff
changeset
|
184 |
> separator = ',\n' |
050efe9a1644
changeset_templater: backport separator template from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32875
diff
changeset
|
185 |
> changeset = ' {dict(rev, node|short)|json}' |
050efe9a1644
changeset_templater: backport separator template from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32875
diff
changeset
|
186 |
> EOF |
050efe9a1644
changeset_templater: backport separator template from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32875
diff
changeset
|
187 |
$ hg log -l2 -T./map-myjson |
050efe9a1644
changeset_templater: backport separator template from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32875
diff
changeset
|
188 |
{ |
050efe9a1644
changeset_templater: backport separator template from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32875
diff
changeset
|
189 |
{"node": "95c24699272e", "rev": 8}, |
050efe9a1644
changeset_templater: backport separator template from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32875
diff
changeset
|
190 |
{"node": "29114dbae42b", "rev": 7} |
050efe9a1644
changeset_templater: backport separator template from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32875
diff
changeset
|
191 |
} |
050efe9a1644
changeset_templater: backport separator template from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32875
diff
changeset
|
192 |
|
32953
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
193 |
Test docheader, docfooter and separator in [templates] section |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
194 |
|
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
195 |
$ cat <<'EOF' >> .hg/hgrc |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
196 |
> [templates] |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
197 |
> myjson = ' {dict(rev, node|short)|json}' |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
198 |
> myjson:docheader = '\{\n' |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
199 |
> myjson:docfooter = '\n}\n' |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
200 |
> myjson:separator = ',\n' |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
201 |
> :docheader = 'should not be selected as a docheader for literal templates\n' |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
202 |
> EOF |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
203 |
$ hg log -l2 -Tmyjson |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
204 |
{ |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
205 |
{"node": "95c24699272e", "rev": 8}, |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
206 |
{"node": "29114dbae42b", "rev": 7} |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
207 |
} |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
208 |
$ hg log -l1 -T'{rev}\n' |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
209 |
8 |
6d79e9109908
changeset_templater: backport parts map of [templates] section from formatter
Yuya Nishihara <yuya@tcha.org>
parents:
32951
diff
changeset
|
210 |
|
22582
4fe5fa49eac8
templater: fix precedence of --style and --template options
Yuya Nishihara <yuya@tcha.org>
parents:
21944
diff
changeset
|
211 |
Template should precede style option |
4fe5fa49eac8
templater: fix precedence of --style and --template options
Yuya Nishihara <yuya@tcha.org>
parents:
21944
diff
changeset
|
212 |
|
4fe5fa49eac8
templater: fix precedence of --style and --template options
Yuya Nishihara <yuya@tcha.org>
parents:
21944
diff
changeset
|
213 |
$ hg log -l1 --style default -T '{rev}\n' |
4fe5fa49eac8
templater: fix precedence of --style and --template options
Yuya Nishihara <yuya@tcha.org>
parents:
21944
diff
changeset
|
214 |
8 |
4fe5fa49eac8
templater: fix precedence of --style and --template options
Yuya Nishihara <yuya@tcha.org>
parents:
21944
diff
changeset
|
215 |
|
24852
515cd710df95
test-command-template: add a short description of a temporary snippet
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24637
diff
changeset
|
216 |
Add a commit with empty description, to ensure that the templates |
24930
0e06c9fc84ea
test-command-template: minor clarification in comment
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24929
diff
changeset
|
217 |
below will omit the description line. |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
218 |
|
24637
c1cb6523e968
templates-default: do not show description or summary if empty
Yuya Nishihara <yuya@tcha.org>
parents:
24566
diff
changeset
|
219 |
$ echo c >> c |
c1cb6523e968
templates-default: do not show description or summary if empty
Yuya Nishihara <yuya@tcha.org>
parents:
24566
diff
changeset
|
220 |
$ hg add c |
c1cb6523e968
templates-default: do not show description or summary if empty
Yuya Nishihara <yuya@tcha.org>
parents:
24566
diff
changeset
|
221 |
$ hg commit -qm ' ' |
c1cb6523e968
templates-default: do not show description or summary if empty
Yuya Nishihara <yuya@tcha.org>
parents:
24566
diff
changeset
|
222 |
|
24853
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
223 |
Default style is like normal output. Phases style should be the same |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
224 |
as default style, except for extra phase lines. |
24852
515cd710df95
test-command-template: add a short description of a temporary snippet
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24637
diff
changeset
|
225 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
226 |
$ hg log > log.out |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
227 |
$ hg log --style default > style.out |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
228 |
$ cmp log.out style.out || diff -u log.out style.out |
24853
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
229 |
$ hg log -T phases > phases.out |
25862
7316a2847c63
tests: work around differing hunk headers between GNU and Solaris diff
Danek Duvall <danek.duvall@oracle.com>
parents:
25861
diff
changeset
|
230 |
$ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+|^@@' |
24853
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
231 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
232 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
233 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
234 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
235 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
236 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
237 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
238 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
239 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
240 |
+phase: draft |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
241 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
242 |
$ hg log -v > log.out |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
243 |
$ hg log -v --style default > style.out |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
244 |
$ cmp log.out style.out || diff -u log.out style.out |
24853
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
245 |
$ hg log -v -T phases > phases.out |
25862
7316a2847c63
tests: work around differing hunk headers between GNU and Solaris diff
Danek Duvall <danek.duvall@oracle.com>
parents:
25861
diff
changeset
|
246 |
$ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+|^@@' |
24853
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
247 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
248 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
249 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
250 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
251 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
252 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
253 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
254 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
255 |
+phase: draft |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
256 |
+phase: draft |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
257 |
|
24304
6136704b975d
templates: fix "log -q" output of default style
Yuya Nishihara <yuya@tcha.org>
parents:
24157
diff
changeset
|
258 |
$ hg log -q > log.out |
6136704b975d
templates: fix "log -q" output of default style
Yuya Nishihara <yuya@tcha.org>
parents:
24157
diff
changeset
|
259 |
$ hg log -q --style default > style.out |
6136704b975d
templates: fix "log -q" output of default style
Yuya Nishihara <yuya@tcha.org>
parents:
24157
diff
changeset
|
260 |
$ cmp log.out style.out || diff -u log.out style.out |
24853
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
261 |
$ hg log -q -T phases > phases.out |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
262 |
$ cmp log.out phases.out || diff -u log.out phases.out |
24304
6136704b975d
templates: fix "log -q" output of default style
Yuya Nishihara <yuya@tcha.org>
parents:
24157
diff
changeset
|
263 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
264 |
$ hg log --debug > log.out |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
265 |
$ hg log --debug --style default > style.out |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
266 |
$ cmp log.out style.out || diff -u log.out style.out |
24853
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
267 |
$ hg log --debug -T phases > phases.out |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
268 |
$ cmp log.out phases.out || diff -u log.out phases.out |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
269 |
|
25762
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
270 |
Default style of working-directory revision should also be the same (but |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
271 |
date may change while running tests): |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
272 |
|
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
273 |
$ hg log -r 'wdir()' | sed 's|^date:.*|date:|' > log.out |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
274 |
$ hg log -r 'wdir()' --style default | sed 's|^date:.*|date:|' > style.out |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
275 |
$ cmp log.out style.out || diff -u log.out style.out |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
276 |
|
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
277 |
$ hg log -r 'wdir()' -v | sed 's|^date:.*|date:|' > log.out |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
278 |
$ hg log -r 'wdir()' -v --style default | sed 's|^date:.*|date:|' > style.out |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
279 |
$ cmp log.out style.out || diff -u log.out style.out |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
280 |
|
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
281 |
$ hg log -r 'wdir()' -q > log.out |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
282 |
$ hg log -r 'wdir()' -q --style default > style.out |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
283 |
$ cmp log.out style.out || diff -u log.out style.out |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
284 |
|
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
285 |
$ hg log -r 'wdir()' --debug | sed 's|^date:.*|date:|' > log.out |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
286 |
$ hg log -r 'wdir()' --debug --style default \ |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
287 |
> | sed 's|^date:.*|date:|' > style.out |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
288 |
$ cmp log.out style.out || diff -u log.out style.out |
f4412380d357
changeset_printer: display wdirrev/wdirnode values for workingctx
Yuya Nishihara <yuya@tcha.org>
parents:
25740
diff
changeset
|
289 |
|
22766
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
290 |
Default style should also preserve color information (issue2866): |
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
291 |
|
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
292 |
$ cp $HGRCPATH $HGRCPATH-bak |
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
293 |
$ cat <<EOF >> $HGRCPATH |
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
294 |
> [extensions] |
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
295 |
> color= |
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
296 |
> EOF |
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
297 |
|
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
298 |
$ hg --color=debug log > log.out |
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
299 |
$ hg --color=debug log --style default > style.out |
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
300 |
$ cmp log.out style.out || diff -u log.out style.out |
24853
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
301 |
$ hg --color=debug log -T phases > phases.out |
25862
7316a2847c63
tests: work around differing hunk headers between GNU and Solaris diff
Danek Duvall <danek.duvall@oracle.com>
parents:
25861
diff
changeset
|
302 |
$ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+|^@@' |
24853
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
303 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
304 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
305 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
306 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
307 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
308 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
309 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
310 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
311 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
312 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
313 |
|
22766
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
314 |
$ hg --color=debug -v log > log.out |
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
315 |
$ hg --color=debug -v log --style default > style.out |
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
316 |
$ cmp log.out style.out || diff -u log.out style.out |
24853
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
317 |
$ hg --color=debug -v log -T phases > phases.out |
25862
7316a2847c63
tests: work around differing hunk headers between GNU and Solaris diff
Danek Duvall <danek.duvall@oracle.com>
parents:
25861
diff
changeset
|
318 |
$ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+|^@@' |
24853
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
319 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
320 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
321 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
322 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
323 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
324 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
325 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
326 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
327 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
328 |
+[log.phase|phase: draft] |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
329 |
|
24304
6136704b975d
templates: fix "log -q" output of default style
Yuya Nishihara <yuya@tcha.org>
parents:
24157
diff
changeset
|
330 |
$ hg --color=debug -q log > log.out |
6136704b975d
templates: fix "log -q" output of default style
Yuya Nishihara <yuya@tcha.org>
parents:
24157
diff
changeset
|
331 |
$ hg --color=debug -q log --style default > style.out |
6136704b975d
templates: fix "log -q" output of default style
Yuya Nishihara <yuya@tcha.org>
parents:
24157
diff
changeset
|
332 |
$ cmp log.out style.out || diff -u log.out style.out |
24853
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
333 |
$ hg --color=debug -q log -T phases > phases.out |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
334 |
$ cmp log.out phases.out || diff -u log.out phases.out |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
335 |
|
22766
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
336 |
$ hg --color=debug --debug log > log.out |
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
337 |
$ hg --color=debug --debug log --style default > style.out |
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
338 |
$ cmp log.out style.out || diff -u log.out style.out |
24853
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
339 |
$ hg --color=debug --debug log -T phases > phases.out |
6518880de1b3
template-phases: do not show description or summary if empty
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24852
diff
changeset
|
340 |
$ cmp log.out phases.out || diff -u log.out phases.out |
22766
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
341 |
|
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
342 |
$ mv $HGRCPATH-bak $HGRCPATH |
0ded0f0b1c04
log: rewrite default template to use labels (issue2866)
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22764
diff
changeset
|
343 |
|
24852
515cd710df95
test-command-template: add a short description of a temporary snippet
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24637
diff
changeset
|
344 |
Remove commit with empty commit message, so as to not pollute further |
515cd710df95
test-command-template: add a short description of a temporary snippet
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24637
diff
changeset
|
345 |
tests. |
515cd710df95
test-command-template: add a short description of a temporary snippet
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24637
diff
changeset
|
346 |
|
24637
c1cb6523e968
templates-default: do not show description or summary if empty
Yuya Nishihara <yuya@tcha.org>
parents:
24566
diff
changeset
|
347 |
$ hg --config extensions.strip= strip -q . |
c1cb6523e968
templates-default: do not show description or summary if empty
Yuya Nishihara <yuya@tcha.org>
parents:
24566
diff
changeset
|
348 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
349 |
Revision with no copies (used to print a traceback): |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
350 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
351 |
$ hg tip -v --template '\n' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
352 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
353 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
354 |
Compact style works: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
355 |
|
20668
3a35ba2681ec
templating: make -T much more flexible
Matt Mackall <mpm@selenic.com>
parents:
20665
diff
changeset
|
356 |
$ hg log -Tcompact |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
357 |
8[tip] 95c24699272e 2020-01-01 10:01 +0000 test |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
358 |
third |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
359 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
360 |
7:-1 29114dbae42b 1970-01-12 13:46 +0000 user |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
361 |
second |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
362 |
|
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
363 |
6:5,4 d41e714fe50d 1970-01-18 08:40 +0000 person |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
364 |
merge |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
365 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
366 |
5:3 13207e5a10d9 1970-01-18 08:40 +0000 person |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
367 |
new head |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
368 |
|
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
369 |
4 bbe44766e73d 1970-01-17 04:53 +0000 person |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
370 |
new branch |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
371 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
372 |
3 10e46f2dcbf4 1970-01-16 01:06 +0000 person |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
373 |
no user, no domain |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
374 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
375 |
2 97054abb4ab8 1970-01-14 21:20 +0000 other |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
376 |
no person |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
377 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
378 |
1 b608e9d1a3f0 1970-01-13 17:33 +0000 other |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
379 |
other 1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
380 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
381 |
0 1e4e1b8f71e0 1970-01-12 13:46 +0000 user |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
382 |
line 1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
383 |
|
1915
9598cde4756d
add tests for command line template.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
384 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
385 |
$ hg log -v --style compact |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
386 |
8[tip] 95c24699272e 2020-01-01 10:01 +0000 test |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
387 |
third |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
388 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
389 |
7:-1 29114dbae42b 1970-01-12 13:46 +0000 User Name <user@hostname> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
390 |
second |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
391 |
|
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
392 |
6:5,4 d41e714fe50d 1970-01-18 08:40 +0000 person |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
393 |
merge |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
394 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
395 |
5:3 13207e5a10d9 1970-01-18 08:40 +0000 person |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
396 |
new head |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
397 |
|
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
398 |
4 bbe44766e73d 1970-01-17 04:53 +0000 person |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
399 |
new branch |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
400 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
401 |
3 10e46f2dcbf4 1970-01-16 01:06 +0000 person |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
402 |
no user, no domain |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
403 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
404 |
2 97054abb4ab8 1970-01-14 21:20 +0000 other@place |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
405 |
no person |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
406 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
407 |
1 b608e9d1a3f0 1970-01-13 17:33 +0000 A. N. Other <other@place> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
408 |
other 1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
409 |
other 2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
410 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
411 |
other 3 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
412 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
413 |
0 1e4e1b8f71e0 1970-01-12 13:46 +0000 User Name <user@hostname> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
414 |
line 1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
415 |
line 2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
416 |
|
1915
9598cde4756d
add tests for command line template.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
417 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
418 |
$ hg log --debug --style compact |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
419 |
8[tip]:7,-1 95c24699272e 2020-01-01 10:01 +0000 test |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
420 |
third |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
421 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
422 |
7:-1,-1 29114dbae42b 1970-01-12 13:46 +0000 User Name <user@hostname> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
423 |
second |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
424 |
|
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
425 |
6:5,4 d41e714fe50d 1970-01-18 08:40 +0000 person |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
426 |
merge |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
427 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
428 |
5:3,-1 13207e5a10d9 1970-01-18 08:40 +0000 person |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
429 |
new head |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
430 |
|
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
431 |
4:3,-1 bbe44766e73d 1970-01-17 04:53 +0000 person |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
432 |
new branch |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
433 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
434 |
3:2,-1 10e46f2dcbf4 1970-01-16 01:06 +0000 person |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
435 |
no user, no domain |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
436 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
437 |
2:1,-1 97054abb4ab8 1970-01-14 21:20 +0000 other@place |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
438 |
no person |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
439 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
440 |
1:0,-1 b608e9d1a3f0 1970-01-13 17:33 +0000 A. N. Other <other@place> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
441 |
other 1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
442 |
other 2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
443 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
444 |
other 3 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
445 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
446 |
0:-1,-1 1e4e1b8f71e0 1970-01-12 13:46 +0000 User Name <user@hostname> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
447 |
line 1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
448 |
line 2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
449 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
450 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
451 |
Test xml styles: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
452 |
|
26222
3095b1027661
templater: add new docheader/footer components for XML (issue4135)
Matt Mackall <mpm@selenic.com>
parents:
26215
diff
changeset
|
453 |
$ hg log --style xml -r 'not all()' |
3095b1027661
templater: add new docheader/footer components for XML (issue4135)
Matt Mackall <mpm@selenic.com>
parents:
26215
diff
changeset
|
454 |
<?xml version="1.0"?> |
3095b1027661
templater: add new docheader/footer components for XML (issue4135)
Matt Mackall <mpm@selenic.com>
parents:
26215
diff
changeset
|
455 |
<log> |
3095b1027661
templater: add new docheader/footer components for XML (issue4135)
Matt Mackall <mpm@selenic.com>
parents:
26215
diff
changeset
|
456 |
</log> |
3095b1027661
templater: add new docheader/footer components for XML (issue4135)
Matt Mackall <mpm@selenic.com>
parents:
26215
diff
changeset
|
457 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
458 |
$ hg log --style xml |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
459 |
<?xml version="1.0"?> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
460 |
<log> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
461 |
<logentry revision="8" node="95c24699272ef57d062b8bccc32c878bf841784a"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
462 |
<tag>tip</tag> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
463 |
<author email="test">test</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
464 |
<date>2020-01-01T10:01:00+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
465 |
<msg xml:space="preserve">third</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
466 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
467 |
<logentry revision="7" node="29114dbae42b9f078cf2714dbe3a86bba8ec7453"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
468 |
<parent revision="-1" node="0000000000000000000000000000000000000000" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
469 |
<author email="user@hostname">User Name</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
470 |
<date>1970-01-12T13:46:40+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
471 |
<msg xml:space="preserve">second</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
472 |
</logentry> |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
473 |
<logentry revision="6" node="d41e714fe50d9e4a5f11b4d595d543481b5f980b"> |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
474 |
<parent revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f" /> |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
475 |
<parent revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74" /> |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
476 |
<author email="person">person</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
477 |
<date>1970-01-18T08:40:01+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
478 |
<msg xml:space="preserve">merge</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
479 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
480 |
<logentry revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
481 |
<parent revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
482 |
<author email="person">person</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
483 |
<date>1970-01-18T08:40:00+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
484 |
<msg xml:space="preserve">new head</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
485 |
</logentry> |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
486 |
<logentry revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74"> |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
487 |
<branch>foo</branch> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
488 |
<author email="person">person</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
489 |
<date>1970-01-17T04:53:20+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
490 |
<msg xml:space="preserve">new branch</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
491 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
492 |
<logentry revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
493 |
<author email="person">person</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
494 |
<date>1970-01-16T01:06:40+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
495 |
<msg xml:space="preserve">no user, no domain</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
496 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
497 |
<logentry revision="2" node="97054abb4ab824450e9164180baf491ae0078465"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
498 |
<author email="other@place">other</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
499 |
<date>1970-01-14T21:20:00+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
500 |
<msg xml:space="preserve">no person</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
501 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
502 |
<logentry revision="1" node="b608e9d1a3f0273ccf70fb85fd6866b3482bf965"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
503 |
<author email="other@place">A. N. Other</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
504 |
<date>1970-01-13T17:33:20+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
505 |
<msg xml:space="preserve">other 1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
506 |
other 2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
507 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
508 |
other 3</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
509 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
510 |
<logentry revision="0" node="1e4e1b8f71e05681d422154f5421e385fec3454f"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
511 |
<author email="user@hostname">User Name</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
512 |
<date>1970-01-12T13:46:40+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
513 |
<msg xml:space="preserve">line 1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
514 |
line 2</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
515 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
516 |
</log> |
1915
9598cde4756d
add tests for command line template.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
517 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
518 |
$ hg log -v --style xml |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
519 |
<?xml version="1.0"?> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
520 |
<log> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
521 |
<logentry revision="8" node="95c24699272ef57d062b8bccc32c878bf841784a"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
522 |
<tag>tip</tag> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
523 |
<author email="test">test</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
524 |
<date>2020-01-01T10:01:00+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
525 |
<msg xml:space="preserve">third</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
526 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
527 |
<path action="A">fourth</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
528 |
<path action="A">third</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
529 |
<path action="R">second</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
530 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
531 |
<copies> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
532 |
<copy source="second">fourth</copy> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
533 |
</copies> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
534 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
535 |
<logentry revision="7" node="29114dbae42b9f078cf2714dbe3a86bba8ec7453"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
536 |
<parent revision="-1" node="0000000000000000000000000000000000000000" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
537 |
<author email="user@hostname">User Name</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
538 |
<date>1970-01-12T13:46:40+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
539 |
<msg xml:space="preserve">second</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
540 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
541 |
<path action="A">second</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
542 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
543 |
</logentry> |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
544 |
<logentry revision="6" node="d41e714fe50d9e4a5f11b4d595d543481b5f980b"> |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
545 |
<parent revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f" /> |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
546 |
<parent revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74" /> |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
547 |
<author email="person">person</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
548 |
<date>1970-01-18T08:40:01+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
549 |
<msg xml:space="preserve">merge</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
550 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
551 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
552 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
553 |
<logentry revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
554 |
<parent revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
555 |
<author email="person">person</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
556 |
<date>1970-01-18T08:40:00+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
557 |
<msg xml:space="preserve">new head</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
558 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
559 |
<path action="A">d</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
560 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
561 |
</logentry> |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
562 |
<logentry revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74"> |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
563 |
<branch>foo</branch> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
564 |
<author email="person">person</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
565 |
<date>1970-01-17T04:53:20+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
566 |
<msg xml:space="preserve">new branch</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
567 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
568 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
569 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
570 |
<logentry revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
571 |
<author email="person">person</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
572 |
<date>1970-01-16T01:06:40+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
573 |
<msg xml:space="preserve">no user, no domain</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
574 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
575 |
<path action="M">c</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
576 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
577 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
578 |
<logentry revision="2" node="97054abb4ab824450e9164180baf491ae0078465"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
579 |
<author email="other@place">other</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
580 |
<date>1970-01-14T21:20:00+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
581 |
<msg xml:space="preserve">no person</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
582 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
583 |
<path action="A">c</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
584 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
585 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
586 |
<logentry revision="1" node="b608e9d1a3f0273ccf70fb85fd6866b3482bf965"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
587 |
<author email="other@place">A. N. Other</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
588 |
<date>1970-01-13T17:33:20+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
589 |
<msg xml:space="preserve">other 1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
590 |
other 2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
591 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
592 |
other 3</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
593 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
594 |
<path action="A">b</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
595 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
596 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
597 |
<logentry revision="0" node="1e4e1b8f71e05681d422154f5421e385fec3454f"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
598 |
<author email="user@hostname">User Name</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
599 |
<date>1970-01-12T13:46:40+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
600 |
<msg xml:space="preserve">line 1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
601 |
line 2</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
602 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
603 |
<path action="A">a</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
604 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
605 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
606 |
</log> |
10160
48653dea23dd
Bugfix and test for hg log XML output
Robert Bachmann <rbachm@gmail.com>
parents:
10061
diff
changeset
|
607 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
608 |
$ hg log --debug --style xml |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
609 |
<?xml version="1.0"?> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
610 |
<log> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
611 |
<logentry revision="8" node="95c24699272ef57d062b8bccc32c878bf841784a"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
612 |
<tag>tip</tag> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
613 |
<parent revision="7" node="29114dbae42b9f078cf2714dbe3a86bba8ec7453" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
614 |
<parent revision="-1" node="0000000000000000000000000000000000000000" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
615 |
<author email="test">test</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
616 |
<date>2020-01-01T10:01:00+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
617 |
<msg xml:space="preserve">third</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
618 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
619 |
<path action="A">fourth</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
620 |
<path action="A">third</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
621 |
<path action="R">second</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
622 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
623 |
<copies> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
624 |
<copy source="second">fourth</copy> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
625 |
</copies> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
626 |
<extra key="branch">default</extra> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
627 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
628 |
<logentry revision="7" node="29114dbae42b9f078cf2714dbe3a86bba8ec7453"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
629 |
<parent revision="-1" node="0000000000000000000000000000000000000000" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
630 |
<parent revision="-1" node="0000000000000000000000000000000000000000" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
631 |
<author email="user@hostname">User Name</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
632 |
<date>1970-01-12T13:46:40+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
633 |
<msg xml:space="preserve">second</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
634 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
635 |
<path action="A">second</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
636 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
637 |
<extra key="branch">default</extra> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
638 |
</logentry> |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
639 |
<logentry revision="6" node="d41e714fe50d9e4a5f11b4d595d543481b5f980b"> |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
640 |
<parent revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f" /> |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
641 |
<parent revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74" /> |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
642 |
<author email="person">person</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
643 |
<date>1970-01-18T08:40:01+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
644 |
<msg xml:space="preserve">merge</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
645 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
646 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
647 |
<extra key="branch">default</extra> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
648 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
649 |
<logentry revision="5" node="13207e5a10d9fd28ec424934298e176197f2c67f"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
650 |
<parent revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
651 |
<parent revision="-1" node="0000000000000000000000000000000000000000" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
652 |
<author email="person">person</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
653 |
<date>1970-01-18T08:40:00+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
654 |
<msg xml:space="preserve">new head</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
655 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
656 |
<path action="A">d</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
657 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
658 |
<extra key="branch">default</extra> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
659 |
</logentry> |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
660 |
<logentry revision="4" node="bbe44766e73d5f11ed2177f1838de10c53ef3e74"> |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
661 |
<branch>foo</branch> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
662 |
<parent revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
663 |
<parent revision="-1" node="0000000000000000000000000000000000000000" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
664 |
<author email="person">person</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
665 |
<date>1970-01-17T04:53:20+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
666 |
<msg xml:space="preserve">new branch</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
667 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
668 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
669 |
<extra key="branch">foo</extra> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
670 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
671 |
<logentry revision="3" node="10e46f2dcbf4823578cf180f33ecf0b957964c47"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
672 |
<parent revision="2" node="97054abb4ab824450e9164180baf491ae0078465" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
673 |
<parent revision="-1" node="0000000000000000000000000000000000000000" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
674 |
<author email="person">person</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
675 |
<date>1970-01-16T01:06:40+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
676 |
<msg xml:space="preserve">no user, no domain</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
677 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
678 |
<path action="M">c</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
679 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
680 |
<extra key="branch">default</extra> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
681 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
682 |
<logentry revision="2" node="97054abb4ab824450e9164180baf491ae0078465"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
683 |
<parent revision="1" node="b608e9d1a3f0273ccf70fb85fd6866b3482bf965" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
684 |
<parent revision="-1" node="0000000000000000000000000000000000000000" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
685 |
<author email="other@place">other</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
686 |
<date>1970-01-14T21:20:00+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
687 |
<msg xml:space="preserve">no person</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
688 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
689 |
<path action="A">c</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
690 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
691 |
<extra key="branch">default</extra> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
692 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
693 |
<logentry revision="1" node="b608e9d1a3f0273ccf70fb85fd6866b3482bf965"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
694 |
<parent revision="0" node="1e4e1b8f71e05681d422154f5421e385fec3454f" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
695 |
<parent revision="-1" node="0000000000000000000000000000000000000000" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
696 |
<author email="other@place">A. N. Other</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
697 |
<date>1970-01-13T17:33:20+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
698 |
<msg xml:space="preserve">other 1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
699 |
other 2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
700 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
701 |
other 3</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
702 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
703 |
<path action="A">b</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
704 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
705 |
<extra key="branch">default</extra> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
706 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
707 |
<logentry revision="0" node="1e4e1b8f71e05681d422154f5421e385fec3454f"> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
708 |
<parent revision="-1" node="0000000000000000000000000000000000000000" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
709 |
<parent revision="-1" node="0000000000000000000000000000000000000000" /> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
710 |
<author email="user@hostname">User Name</author> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
711 |
<date>1970-01-12T13:46:40+00:00</date> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
712 |
<msg xml:space="preserve">line 1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
713 |
line 2</msg> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
714 |
<paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
715 |
<path action="A">a</path> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
716 |
</paths> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
717 |
<extra key="branch">default</extra> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
718 |
</logentry> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
719 |
</log> |
1915
9598cde4756d
add tests for command line template.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
720 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
721 |
|
41996
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
722 |
test CBOR style: |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
723 |
|
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
724 |
$ cat <<'EOF' > "$TESTTMP/decodecborarray.py" |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
725 |
> from __future__ import absolute_import |
42000
a66965406528
test-template: fix stdio mode on Windows
Yuya Nishihara <yuya@tcha.org>
parents:
41996
diff
changeset
|
726 |
> from mercurial import ( |
a66965406528
test-template: fix stdio mode on Windows
Yuya Nishihara <yuya@tcha.org>
parents:
41996
diff
changeset
|
727 |
> dispatch, |
a66965406528
test-template: fix stdio mode on Windows
Yuya Nishihara <yuya@tcha.org>
parents:
41996
diff
changeset
|
728 |
> ) |
41996
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
729 |
> from mercurial.utils import ( |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
730 |
> cborutil, |
45055
4c1b4805db57
pycompat: change users of pycompat.{stdin,stdout,stderr} to use procutil.std*
Manuel Jacob <me@manueljacob.de>
parents:
43102
diff
changeset
|
731 |
> procutil, |
41996
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
732 |
> stringutil, |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
733 |
> ) |
42000
a66965406528
test-template: fix stdio mode on Windows
Yuya Nishihara <yuya@tcha.org>
parents:
41996
diff
changeset
|
734 |
> dispatch.initstdio() |
45055
4c1b4805db57
pycompat: change users of pycompat.{stdin,stdout,stderr} to use procutil.std*
Manuel Jacob <me@manueljacob.de>
parents:
43102
diff
changeset
|
735 |
> data = procutil.stdin.read() |
41996
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
736 |
> # our CBOR decoder doesn't support parsing indefinite-length arrays, |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
737 |
> # but the log output is indefinite stream by nature. |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
738 |
> assert data[:1] == cborutil.BEGIN_INDEFINITE_ARRAY |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
739 |
> assert data[-1:] == cborutil.BREAK |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
740 |
> items = cborutil.decodeall(data[1:-1]) |
45055
4c1b4805db57
pycompat: change users of pycompat.{stdin,stdout,stderr} to use procutil.std*
Manuel Jacob <me@manueljacob.de>
parents:
43102
diff
changeset
|
741 |
> procutil.stdout.write(stringutil.pprint(items, indent=1) + b'\n') |
41996
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
742 |
> EOF |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
743 |
|
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
744 |
$ hg log -k nosuch -Tcbor | "$PYTHON" "$TESTTMP/decodecborarray.py" |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
745 |
[] |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
746 |
|
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
747 |
$ hg log -qr0:1 -Tcbor | "$PYTHON" "$TESTTMP/decodecborarray.py" |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
748 |
[ |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
749 |
{ |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
750 |
'node': '1e4e1b8f71e05681d422154f5421e385fec3454f', |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
751 |
'rev': 0 |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
752 |
}, |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
753 |
{ |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
754 |
'node': 'b608e9d1a3f0273ccf70fb85fd6866b3482bf965', |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
755 |
'rev': 1 |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
756 |
} |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
757 |
] |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
758 |
|
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
759 |
$ hg log -vpr . -Tcbor --stat | "$PYTHON" "$TESTTMP/decodecborarray.py" |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
760 |
[ |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
761 |
{ |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
762 |
'bookmarks': [], |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
763 |
'branch': 'default', |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
764 |
'date': [ |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
765 |
1577872860, |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
766 |
0 |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
767 |
], |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
768 |
'desc': 'third', |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
769 |
'diff': 'diff -r 29114dbae42b -r 95c24699272e fourth\n--- /dev/null\tThu Jan 01 00:00:00 1970 +0000\n+++ b/fourth\tWed Jan 01 10:01:00 2020 +0000\n@@ -0,0 +1,1 @@\n+second\ndiff -r 29114dbae42b -r 95c24699272e second\n--- a/second\tMon Jan 12 13:46:40 1970 +0000\n+++ /dev/null\tThu Jan 01 00:00:00 1970 +0000\n@@ -1,1 +0,0 @@\n-second\ndiff -r 29114dbae42b -r 95c24699272e third\n--- /dev/null\tThu Jan 01 00:00:00 1970 +0000\n+++ b/third\tWed Jan 01 10:01:00 2020 +0000\n@@ -0,0 +1,1 @@\n+third\n', |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
770 |
'diffstat': ' fourth | 1 +\n second | 1 -\n third | 1 +\n 3 files changed, 2 insertions(+), 1 deletions(-)\n', |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
771 |
'files': [ |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
772 |
'fourth', |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
773 |
'second', |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
774 |
'third' |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
775 |
], |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
776 |
'node': '95c24699272ef57d062b8bccc32c878bf841784a', |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
777 |
'parents': [ |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
778 |
'29114dbae42b9f078cf2714dbe3a86bba8ec7453' |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
779 |
], |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
780 |
'phase': 'draft', |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
781 |
'rev': 8, |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
782 |
'tags': [ |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
783 |
'tip' |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
784 |
], |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
785 |
'user': 'test' |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
786 |
} |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
787 |
] |
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
788 |
|
43101
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
789 |
$ hg log -r . -T'cbor(rev, node|short)' | "$PYTHON" "$TESTTMP/decodecborarray.py" |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
790 |
[ |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
791 |
{ |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
792 |
'node': '95c24699272e', |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
793 |
'rev': 8 |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
794 |
} |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
795 |
] |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
796 |
|
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
797 |
$ hg log -r . -T'cbor()' | "$PYTHON" "$TESTTMP/decodecborarray.py" |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
798 |
[ |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
799 |
{} |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
800 |
] |
41996
77ef3498ceb3
template: add CBOR output format
Yuya Nishihara <yuya@tcha.org>
parents:
41420
diff
changeset
|
801 |
|
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
802 |
Test JSON style: |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
803 |
|
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
804 |
$ hg log -k nosuch -Tjson |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
805 |
[ |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
806 |
] |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
807 |
|
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
808 |
$ hg log -qr . -Tjson |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
809 |
[ |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
810 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
811 |
"node": "95c24699272ef57d062b8bccc32c878bf841784a", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
812 |
"rev": 8 |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
813 |
} |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
814 |
] |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
815 |
|
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
816 |
$ hg log -vpr . -Tjson --stat |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
817 |
[ |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
818 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
819 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
820 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
821 |
"date": [1577872860, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
822 |
"desc": "third", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
823 |
"diff": "diff -r 29114dbae42b -r 95c24699272e fourth\n--- /dev/null\tThu Jan 01 00:00:00 1970 +0000\n+++ b/fourth\tWed Jan 01 10:01:00 2020 +0000\n@@ -0,0 +1,1 @@\n+second\ndiff -r 29114dbae42b -r 95c24699272e second\n--- a/second\tMon Jan 12 13:46:40 1970 +0000\n+++ /dev/null\tThu Jan 01 00:00:00 1970 +0000\n@@ -1,1 +0,0 @@\n-second\ndiff -r 29114dbae42b -r 95c24699272e third\n--- /dev/null\tThu Jan 01 00:00:00 1970 +0000\n+++ b/third\tWed Jan 01 10:01:00 2020 +0000\n@@ -0,0 +1,1 @@\n+third\n", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
824 |
"diffstat": " fourth | 1 +\n second | 1 -\n third | 1 +\n 3 files changed, 2 insertions(+), 1 deletions(-)\n", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
825 |
"files": ["fourth", "second", "third"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
826 |
"node": "95c24699272ef57d062b8bccc32c878bf841784a", |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
827 |
"parents": ["29114dbae42b9f078cf2714dbe3a86bba8ec7453"], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
828 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
829 |
"rev": 8, |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
830 |
"tags": ["tip"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
831 |
"user": "test" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
832 |
} |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
833 |
] |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
834 |
|
23453
341e4798c24d
jsonchangeset: don't honor whitespace and format-changing diffopts
Siddharth Agarwal <sid0@fb.com>
parents:
22844
diff
changeset
|
835 |
honor --git but not format-breaking diffopts |
341e4798c24d
jsonchangeset: don't honor whitespace and format-changing diffopts
Siddharth Agarwal <sid0@fb.com>
parents:
22844
diff
changeset
|
836 |
$ hg --config diff.noprefix=True log --git -vpr . -Tjson |
341e4798c24d
jsonchangeset: don't honor whitespace and format-changing diffopts
Siddharth Agarwal <sid0@fb.com>
parents:
22844
diff
changeset
|
837 |
[ |
341e4798c24d
jsonchangeset: don't honor whitespace and format-changing diffopts
Siddharth Agarwal <sid0@fb.com>
parents:
22844
diff
changeset
|
838 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
839 |
"bookmarks": [], |
23453
341e4798c24d
jsonchangeset: don't honor whitespace and format-changing diffopts
Siddharth Agarwal <sid0@fb.com>
parents:
22844
diff
changeset
|
840 |
"branch": "default", |
341e4798c24d
jsonchangeset: don't honor whitespace and format-changing diffopts
Siddharth Agarwal <sid0@fb.com>
parents:
22844
diff
changeset
|
841 |
"date": [1577872860, 0], |
341e4798c24d
jsonchangeset: don't honor whitespace and format-changing diffopts
Siddharth Agarwal <sid0@fb.com>
parents:
22844
diff
changeset
|
842 |
"desc": "third", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
843 |
"diff": "diff --git a/second b/fourth\nrename from second\nrename to fourth\ndiff --git a/third b/third\nnew file mode 100644\n--- /dev/null\n+++ b/third\n@@ -0,0 +1,1 @@\n+third\n", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
844 |
"files": ["fourth", "second", "third"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
845 |
"node": "95c24699272ef57d062b8bccc32c878bf841784a", |
23453
341e4798c24d
jsonchangeset: don't honor whitespace and format-changing diffopts
Siddharth Agarwal <sid0@fb.com>
parents:
22844
diff
changeset
|
846 |
"parents": ["29114dbae42b9f078cf2714dbe3a86bba8ec7453"], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
847 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
848 |
"rev": 8, |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
849 |
"tags": ["tip"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
850 |
"user": "test" |
23453
341e4798c24d
jsonchangeset: don't honor whitespace and format-changing diffopts
Siddharth Agarwal <sid0@fb.com>
parents:
22844
diff
changeset
|
851 |
} |
341e4798c24d
jsonchangeset: don't honor whitespace and format-changing diffopts
Siddharth Agarwal <sid0@fb.com>
parents:
22844
diff
changeset
|
852 |
] |
341e4798c24d
jsonchangeset: don't honor whitespace and format-changing diffopts
Siddharth Agarwal <sid0@fb.com>
parents:
22844
diff
changeset
|
853 |
|
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
854 |
$ hg log -T json |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
855 |
[ |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
856 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
857 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
858 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
859 |
"date": [1577872860, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
860 |
"desc": "third", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
861 |
"node": "95c24699272ef57d062b8bccc32c878bf841784a", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
862 |
"parents": ["29114dbae42b9f078cf2714dbe3a86bba8ec7453"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
863 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
864 |
"rev": 8, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
865 |
"tags": ["tip"], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
866 |
"user": "test" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
867 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
868 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
869 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
870 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
871 |
"date": [1000000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
872 |
"desc": "second", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
873 |
"node": "29114dbae42b9f078cf2714dbe3a86bba8ec7453", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
874 |
"parents": ["0000000000000000000000000000000000000000"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
875 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
876 |
"rev": 7, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
877 |
"tags": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
878 |
"user": "User Name <user@hostname>" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
879 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
880 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
881 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
882 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
883 |
"date": [1500001, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
884 |
"desc": "merge", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
885 |
"node": "d41e714fe50d9e4a5f11b4d595d543481b5f980b", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
886 |
"parents": ["13207e5a10d9fd28ec424934298e176197f2c67f", "bbe44766e73d5f11ed2177f1838de10c53ef3e74"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
887 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
888 |
"rev": 6, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
889 |
"tags": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
890 |
"user": "person" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
891 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
892 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
893 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
894 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
895 |
"date": [1500000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
896 |
"desc": "new head", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
897 |
"node": "13207e5a10d9fd28ec424934298e176197f2c67f", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
898 |
"parents": ["10e46f2dcbf4823578cf180f33ecf0b957964c47"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
899 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
900 |
"rev": 5, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
901 |
"tags": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
902 |
"user": "person" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
903 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
904 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
905 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
906 |
"branch": "foo", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
907 |
"date": [1400000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
908 |
"desc": "new branch", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
909 |
"node": "bbe44766e73d5f11ed2177f1838de10c53ef3e74", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
910 |
"parents": ["10e46f2dcbf4823578cf180f33ecf0b957964c47"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
911 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
912 |
"rev": 4, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
913 |
"tags": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
914 |
"user": "person" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
915 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
916 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
917 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
918 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
919 |
"date": [1300000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
920 |
"desc": "no user, no domain", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
921 |
"node": "10e46f2dcbf4823578cf180f33ecf0b957964c47", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
922 |
"parents": ["97054abb4ab824450e9164180baf491ae0078465"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
923 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
924 |
"rev": 3, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
925 |
"tags": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
926 |
"user": "person" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
927 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
928 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
929 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
930 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
931 |
"date": [1200000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
932 |
"desc": "no person", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
933 |
"node": "97054abb4ab824450e9164180baf491ae0078465", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
934 |
"parents": ["b608e9d1a3f0273ccf70fb85fd6866b3482bf965"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
935 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
936 |
"rev": 2, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
937 |
"tags": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
938 |
"user": "other@place" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
939 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
940 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
941 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
942 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
943 |
"date": [1100000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
944 |
"desc": "other 1\nother 2\n\nother 3", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
945 |
"node": "b608e9d1a3f0273ccf70fb85fd6866b3482bf965", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
946 |
"parents": ["1e4e1b8f71e05681d422154f5421e385fec3454f"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
947 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
948 |
"rev": 1, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
949 |
"tags": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
950 |
"user": "A. N. Other <other@place>" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
951 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
952 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
953 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
954 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
955 |
"date": [1000000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
956 |
"desc": "line 1\nline 2", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
957 |
"node": "1e4e1b8f71e05681d422154f5421e385fec3454f", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
958 |
"parents": ["0000000000000000000000000000000000000000"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
959 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
960 |
"rev": 0, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
961 |
"tags": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
962 |
"user": "User Name <user@hostname>" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
963 |
} |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
964 |
] |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
965 |
|
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
966 |
$ hg heads -v -Tjson |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
967 |
[ |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
968 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
969 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
970 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
971 |
"date": [1577872860, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
972 |
"desc": "third", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
973 |
"files": ["fourth", "second", "third"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
974 |
"node": "95c24699272ef57d062b8bccc32c878bf841784a", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
975 |
"parents": ["29114dbae42b9f078cf2714dbe3a86bba8ec7453"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
976 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
977 |
"rev": 8, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
978 |
"tags": ["tip"], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
979 |
"user": "test" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
980 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
981 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
982 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
983 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
984 |
"date": [1500001, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
985 |
"desc": "merge", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
986 |
"files": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
987 |
"node": "d41e714fe50d9e4a5f11b4d595d543481b5f980b", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
988 |
"parents": ["13207e5a10d9fd28ec424934298e176197f2c67f", "bbe44766e73d5f11ed2177f1838de10c53ef3e74"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
989 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
990 |
"rev": 6, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
991 |
"tags": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
992 |
"user": "person" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
993 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
994 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
995 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
996 |
"branch": "foo", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
997 |
"date": [1400000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
998 |
"desc": "new branch", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
999 |
"files": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1000 |
"node": "bbe44766e73d5f11ed2177f1838de10c53ef3e74", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1001 |
"parents": ["10e46f2dcbf4823578cf180f33ecf0b957964c47"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1002 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1003 |
"rev": 4, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1004 |
"tags": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1005 |
"user": "person" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1006 |
} |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1007 |
] |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1008 |
|
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1009 |
$ hg log --debug -Tjson |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1010 |
[ |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1011 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1012 |
"added": ["fourth", "third"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1013 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1014 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1015 |
"date": [1577872860, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1016 |
"desc": "third", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1017 |
"extra": {"branch": "default"}, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1018 |
"manifest": "94961b75a2da554b4df6fb599e5bfc7d48de0c64", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1019 |
"modified": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1020 |
"node": "95c24699272ef57d062b8bccc32c878bf841784a", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1021 |
"parents": ["29114dbae42b9f078cf2714dbe3a86bba8ec7453"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1022 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1023 |
"removed": ["second"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1024 |
"rev": 8, |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1025 |
"tags": ["tip"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1026 |
"user": "test" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1027 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1028 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1029 |
"added": ["second"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1030 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1031 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1032 |
"date": [1000000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1033 |
"desc": "second", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1034 |
"extra": {"branch": "default"}, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1035 |
"manifest": "f2dbc354b94e5ec0b4f10680ee0cee816101d0bf", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1036 |
"modified": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1037 |
"node": "29114dbae42b9f078cf2714dbe3a86bba8ec7453", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1038 |
"parents": ["0000000000000000000000000000000000000000"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1039 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1040 |
"removed": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1041 |
"rev": 7, |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1042 |
"tags": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1043 |
"user": "User Name <user@hostname>" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1044 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1045 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1046 |
"added": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1047 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1048 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1049 |
"date": [1500001, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1050 |
"desc": "merge", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1051 |
"extra": {"branch": "default"}, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1052 |
"manifest": "4dc3def4f9b4c6e8de820f6ee74737f91e96a216", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1053 |
"modified": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1054 |
"node": "d41e714fe50d9e4a5f11b4d595d543481b5f980b", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1055 |
"parents": ["13207e5a10d9fd28ec424934298e176197f2c67f", "bbe44766e73d5f11ed2177f1838de10c53ef3e74"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1056 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1057 |
"removed": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1058 |
"rev": 6, |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1059 |
"tags": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1060 |
"user": "person" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1061 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1062 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1063 |
"added": ["d"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1064 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1065 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1066 |
"date": [1500000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1067 |
"desc": "new head", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1068 |
"extra": {"branch": "default"}, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1069 |
"manifest": "4dc3def4f9b4c6e8de820f6ee74737f91e96a216", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1070 |
"modified": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1071 |
"node": "13207e5a10d9fd28ec424934298e176197f2c67f", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1072 |
"parents": ["10e46f2dcbf4823578cf180f33ecf0b957964c47"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1073 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1074 |
"removed": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1075 |
"rev": 5, |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1076 |
"tags": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1077 |
"user": "person" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1078 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1079 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1080 |
"added": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1081 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1082 |
"branch": "foo", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1083 |
"date": [1400000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1084 |
"desc": "new branch", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1085 |
"extra": {"branch": "foo"}, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1086 |
"manifest": "cb5a1327723bada42f117e4c55a303246eaf9ccc", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1087 |
"modified": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1088 |
"node": "bbe44766e73d5f11ed2177f1838de10c53ef3e74", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1089 |
"parents": ["10e46f2dcbf4823578cf180f33ecf0b957964c47"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1090 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1091 |
"removed": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1092 |
"rev": 4, |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1093 |
"tags": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1094 |
"user": "person" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1095 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1096 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1097 |
"added": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1098 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1099 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1100 |
"date": [1300000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1101 |
"desc": "no user, no domain", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1102 |
"extra": {"branch": "default"}, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1103 |
"manifest": "cb5a1327723bada42f117e4c55a303246eaf9ccc", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1104 |
"modified": ["c"], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1105 |
"node": "10e46f2dcbf4823578cf180f33ecf0b957964c47", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1106 |
"parents": ["97054abb4ab824450e9164180baf491ae0078465"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1107 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1108 |
"removed": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1109 |
"rev": 3, |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1110 |
"tags": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1111 |
"user": "person" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1112 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1113 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1114 |
"added": ["c"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1115 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1116 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1117 |
"date": [1200000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1118 |
"desc": "no person", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1119 |
"extra": {"branch": "default"}, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1120 |
"manifest": "6e0e82995c35d0d57a52aca8da4e56139e06b4b1", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1121 |
"modified": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1122 |
"node": "97054abb4ab824450e9164180baf491ae0078465", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1123 |
"parents": ["b608e9d1a3f0273ccf70fb85fd6866b3482bf965"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1124 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1125 |
"removed": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1126 |
"rev": 2, |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1127 |
"tags": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1128 |
"user": "other@place" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1129 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1130 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1131 |
"added": ["b"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1132 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1133 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1134 |
"date": [1100000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1135 |
"desc": "other 1\nother 2\n\nother 3", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1136 |
"extra": {"branch": "default"}, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1137 |
"manifest": "4e8d705b1e53e3f9375e0e60dc7b525d8211fe55", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1138 |
"modified": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1139 |
"node": "b608e9d1a3f0273ccf70fb85fd6866b3482bf965", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1140 |
"parents": ["1e4e1b8f71e05681d422154f5421e385fec3454f"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1141 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1142 |
"removed": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1143 |
"rev": 1, |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1144 |
"tags": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1145 |
"user": "A. N. Other <other@place>" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1146 |
}, |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1147 |
{ |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1148 |
"added": ["a"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1149 |
"bookmarks": [], |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1150 |
"branch": "default", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1151 |
"date": [1000000, 0], |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1152 |
"desc": "line 1\nline 2", |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1153 |
"extra": {"branch": "default"}, |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1154 |
"manifest": "a0c8bcbbb45c63b90b70ad007bf38961f64f2af0", |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1155 |
"modified": [], |
37772
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1156 |
"node": "1e4e1b8f71e05681d422154f5421e385fec3454f", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1157 |
"parents": ["0000000000000000000000000000000000000000"], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1158 |
"phase": "draft", |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1159 |
"removed": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1160 |
"rev": 0, |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1161 |
"tags": [], |
814151cd8c4a
logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter
Yuya Nishihara <yuya@tcha.org>
parents:
37709
diff
changeset
|
1162 |
"user": "User Name <user@hostname>" |
22427
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1163 |
} |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1164 |
] |
bd15932846a4
cmdutil: add json style to log-like commands
Matt Mackall <mpm@selenic.com>
parents:
22304
diff
changeset
|
1165 |
|
43101
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1166 |
$ hg log -l2 -T'json(rev, parents)' |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1167 |
[ |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1168 |
{"parents": ["29114dbae42b9f078cf2714dbe3a86bba8ec7453"], "rev": 8}, |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1169 |
{"parents": ["0000000000000000000000000000000000000000"], "rev": 7} |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1170 |
] |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1171 |
|
43102
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1172 |
$ hg log -qr. -T'json(rev, parents)' |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1173 |
[ |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1174 |
{"parents": ["29114dbae42b9f078cf2714dbe3a86bba8ec7453"], "rev": 8} |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1175 |
] |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1176 |
|
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1177 |
$ hg log -r. -T'json(diff)' |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1178 |
[ |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1179 |
{"diff": "diff -r 29114dbae42b -r 95c24699272e fourth\n--- /dev/null\tThu Jan 01 00:00:00 1970 +0000\n+++ b/fourth\tWed Jan 01 10:01:00 2020 +0000\n@@ -0,0 +1,1 @@\n+second\ndiff -r 29114dbae42b -r 95c24699272e second\n--- a/second\tMon Jan 12 13:46:40 1970 +0000\n+++ /dev/null\tThu Jan 01 00:00:00 1970 +0000\n@@ -1,1 +0,0 @@\n-second\ndiff -r 29114dbae42b -r 95c24699272e third\n--- /dev/null\tThu Jan 01 00:00:00 1970 +0000\n+++ b/third\tWed Jan 01 10:01:00 2020 +0000\n@@ -0,0 +1,1 @@\n+third\n"} |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1180 |
] |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1181 |
|
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1182 |
$ hg log -r. -T'json(diffstat)' |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1183 |
[ |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1184 |
{"diffstat": " fourth | 1 +\n second | 1 -\n third | 1 +\n 3 files changed, 2 insertions(+), 1 deletions(-)\n"} |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1185 |
] |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1186 |
|
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1187 |
$ hg log -r. -T'json(manifest)' |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1188 |
[ |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1189 |
{"manifest": "94961b75a2da554b4df6fb599e5bfc7d48de0c64"} |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1190 |
] |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1191 |
|
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1192 |
$ hg log -r. -T'json(extra)' |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1193 |
[ |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1194 |
{"extra": {"branch": "default"}} |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1195 |
] |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1196 |
|
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1197 |
$ hg log -r3 -T'json(modified)' |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1198 |
[ |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1199 |
{"modified": ["c"]} |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1200 |
] |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1201 |
|
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1202 |
$ hg log -r. -T'json(added)' |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1203 |
[ |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1204 |
{"added": ["fourth", "third"]} |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1205 |
] |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1206 |
|
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1207 |
$ hg log -r. -T'json(removed)' |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1208 |
[ |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1209 |
{"removed": ["second"]} |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1210 |
] |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1211 |
|
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1212 |
$ hg log -r. -T'json(files)' |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1213 |
[ |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1214 |
{"files": ["fourth", "second", "third"]} |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1215 |
] |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1216 |
|
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1217 |
--copies is the exception. copies dict is built only when --copies switch |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1218 |
is on: |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1219 |
|
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1220 |
$ hg log -r'.^:' -T'json(copies)' --copies |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1221 |
[ |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1222 |
{"copies": {}}, |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1223 |
{"copies": {"fourth": "second"}} |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1224 |
] |
829088e87032
log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...)
Yuya Nishihara <yuya@tcha.org>
parents:
43101
diff
changeset
|
1225 |
|
43101
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1226 |
$ hg log -r. -T'json()' |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1227 |
[ |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1228 |
{} |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1229 |
] |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1230 |
|
43100
90b9a7e06c2c
formatter: parse name of built-in formatter templates in standard way
Yuya Nishihara <yuya@tcha.org>
parents:
42000
diff
changeset
|
1231 |
Other unsupported formatter styles: |
90b9a7e06c2c
formatter: parse name of built-in formatter templates in standard way
Yuya Nishihara <yuya@tcha.org>
parents:
42000
diff
changeset
|
1232 |
|
90b9a7e06c2c
formatter: parse name of built-in formatter templates in standard way
Yuya Nishihara <yuya@tcha.org>
parents:
42000
diff
changeset
|
1233 |
$ hg log -qr . -Tpickle |
90b9a7e06c2c
formatter: parse name of built-in formatter templates in standard way
Yuya Nishihara <yuya@tcha.org>
parents:
42000
diff
changeset
|
1234 |
abort: "pickle" not in template map |
90b9a7e06c2c
formatter: parse name of built-in formatter templates in standard way
Yuya Nishihara <yuya@tcha.org>
parents:
42000
diff
changeset
|
1235 |
[255] |
90b9a7e06c2c
formatter: parse name of built-in formatter templates in standard way
Yuya Nishihara <yuya@tcha.org>
parents:
42000
diff
changeset
|
1236 |
$ hg log -qr . -Tdebug |
90b9a7e06c2c
formatter: parse name of built-in formatter templates in standard way
Yuya Nishihara <yuya@tcha.org>
parents:
42000
diff
changeset
|
1237 |
abort: "debug" not in template map |
90b9a7e06c2c
formatter: parse name of built-in formatter templates in standard way
Yuya Nishihara <yuya@tcha.org>
parents:
42000
diff
changeset
|
1238 |
[255] |
90b9a7e06c2c
formatter: parse name of built-in formatter templates in standard way
Yuya Nishihara <yuya@tcha.org>
parents:
42000
diff
changeset
|
1239 |
|
43101
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1240 |
Unparsable function-style references: |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1241 |
|
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1242 |
$ hg log -qr . -T'json(-)' |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1243 |
hg: parse error at 6: not a prefix: ) |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1244 |
(json(-) |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1245 |
^ here) |
45895
fc4fb2f17dd4
errors: use exit code 10 for parse errors
Martin von Zweigbergk <martinvonz@google.com>
parents:
45765
diff
changeset
|
1246 |
[10] |
43101
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1247 |
|
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1248 |
For backward compatibility, the following examples are not parsed as |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1249 |
function-style references: |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1250 |
|
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1251 |
$ hg log -qr . -T'cbor(rev' |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1252 |
cbor(rev (no-eol) |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1253 |
$ hg log -qr . -T'json (rev)' |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1254 |
json (rev) (no-eol) |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1255 |
$ hg log -qr . -T'json(x="{rev}")' |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1256 |
json(x="8") (no-eol) |
1d12ae5096d1
formatter: map -Tjson(...) and -Tcbor(...) to templater
Yuya Nishihara <yuya@tcha.org>
parents:
43100
diff
changeset
|
1257 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1258 |
Error if style not readable: |
1915
9598cde4756d
add tests for command line template.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
1259 |
|
20008
e54a078153f7
tests: skip tests that require not having root (issue4089)
Matt Mackall <mpm@selenic.com>
parents:
19989
diff
changeset
|
1260 |
#if unix-permissions no-root |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1261 |
$ touch q |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1262 |
$ chmod 0 q |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1263 |
$ hg log --style ./q |
41420
b6673e9bdcf6
dispatch: quote filename in IOError as well
Yuya Nishihara <yuya@tcha.org>
parents:
39623
diff
changeset
|
1264 |
abort: Permission denied: './q' |
12316
4134686b83e1
tests: add exit codes to unified tests
Matt Mackall <mpm@selenic.com>
parents:
12283
diff
changeset
|
1265 |
[255] |
16917
bebe376b938f
test-command-template: enable for Windows
Adrian Buehlmann <adrian@cadifra.com>
parents:
16678
diff
changeset
|
1266 |
#endif |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1267 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1268 |
Error if no style: |
1915
9598cde4756d
add tests for command line template.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
1269 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1270 |
$ hg log --style notexist |
19127
d982edcfe7f0
templater: fix output instability from gsoc patches
Augie Fackler <raf@durin42.com>
parents:
19058
diff
changeset
|
1271 |
abort: style 'notexist' not found |
31765
264baeef3588
show: new extension for displaying various repository data
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31521
diff
changeset
|
1272 |
(available styles: bisect, changelog, compact, default, phases, show, status, xml) |
12316
4134686b83e1
tests: add exit codes to unified tests
Matt Mackall <mpm@selenic.com>
parents:
12283
diff
changeset
|
1273 |
[255] |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1274 |
|
21944
0483ff40e326
templates: re-add template listing support
Matt Mackall <mpm@selenic.com>
parents:
21896
diff
changeset
|
1275 |
$ hg log -T list |
31765
264baeef3588
show: new extension for displaying various repository data
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31521
diff
changeset
|
1276 |
available styles: bisect, changelog, compact, default, phases, show, status, xml |
21944
0483ff40e326
templates: re-add template listing support
Matt Mackall <mpm@selenic.com>
parents:
21896
diff
changeset
|
1277 |
abort: specify a template |
0483ff40e326
templates: re-add template listing support
Matt Mackall <mpm@selenic.com>
parents:
21896
diff
changeset
|
1278 |
[255] |
0483ff40e326
templates: re-add template listing support
Matt Mackall <mpm@selenic.com>
parents:
21896
diff
changeset
|
1279 |
|
45222
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
1280 |
Error if style is a directory: |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
1281 |
|
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
1282 |
$ hg log --style somedir |
46073
b2a743c3abbb
tests: conditionalize a few Windows specific error messages
Matt Harbison <matt_harbison@yahoo.com>
parents:
45895
diff
changeset
|
1283 |
abort: Is a directory: 'somedir' (no-windows !) |
b2a743c3abbb
tests: conditionalize a few Windows specific error messages
Matt Harbison <matt_harbison@yahoo.com>
parents:
45895
diff
changeset
|
1284 |
abort: somedir: Access is denied (windows !) |
45222
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
1285 |
[255] |
f512708a9ea8
tests: add tests trying to use dir as style, as %include, and as __base__
Martin von Zweigbergk <martinvonz@google.com>
parents:
45221
diff
changeset
|
1286 |
|
45258
46c8db8d4e03
tests: show unusual error message for `hg log --style coal`
Martin von Zweigbergk <martinvonz@google.com>
parents:
45222
diff
changeset
|
1287 |
Error if style is a directory whose name is a built-in style: |
46c8db8d4e03
tests: show unusual error message for `hg log --style coal`
Martin von Zweigbergk <martinvonz@google.com>
parents:
45222
diff
changeset
|
1288 |
|
46c8db8d4e03
tests: show unusual error message for `hg log --style coal`
Martin von Zweigbergk <martinvonz@google.com>
parents:
45222
diff
changeset
|
1289 |
$ hg log --style coal |
45259
9a308336fe41
templater: make templatepath() not return directory paths
Martin von Zweigbergk <martinvonz@google.com>
parents:
45258
diff
changeset
|
1290 |
abort: style 'coal' not found |
9a308336fe41
templater: make templatepath() not return directory paths
Martin von Zweigbergk <martinvonz@google.com>
parents:
45258
diff
changeset
|
1291 |
(available styles: bisect, changelog, compact, default, phases, show, status, xml) |
45258
46c8db8d4e03
tests: show unusual error message for `hg log --style coal`
Martin von Zweigbergk <martinvonz@google.com>
parents:
45222
diff
changeset
|
1292 |
[255] |
46c8db8d4e03
tests: show unusual error message for `hg log --style coal`
Martin von Zweigbergk <martinvonz@google.com>
parents:
45222
diff
changeset
|
1293 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1294 |
Error if style missing key: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1295 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1296 |
$ echo 'q = q' > t |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1297 |
$ hg log --style ./t |
13175
09cde75e0613
templater: give slightly nicer error for unknown map entries
Matt Mackall <mpm@selenic.com>
parents:
13156
diff
changeset
|
1298 |
abort: "changeset" not in template map |
12316
4134686b83e1
tests: add exit codes to unified tests
Matt Mackall <mpm@selenic.com>
parents:
12283
diff
changeset
|
1299 |
[255] |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1300 |
|
17334
39c01f8e7b39
templater: handle a missing value correctly
Ross Lagerwall <rosslagerwall@gmail.com>
parents:
16917
diff
changeset
|
1301 |
Error if style missing value: |
39c01f8e7b39
templater: handle a missing value correctly
Ross Lagerwall <rosslagerwall@gmail.com>
parents:
16917
diff
changeset
|
1302 |
|
39c01f8e7b39
templater: handle a missing value correctly
Ross Lagerwall <rosslagerwall@gmail.com>
parents:
16917
diff
changeset
|
1303 |
$ echo 'changeset =' > t |
39c01f8e7b39
templater: handle a missing value correctly
Ross Lagerwall <rosslagerwall@gmail.com>
parents:
16917
diff
changeset
|
1304 |
$ hg log --style t |
28628
ed1d90f6e921
templater: do not abuse SyntaxError to report errors in template map file
Yuya Nishihara <yuya@tcha.org>
parents:
28548
diff
changeset
|
1305 |
hg: parse error at t:1: missing value |
45895
fc4fb2f17dd4
errors: use exit code 10 for parse errors
Martin von Zweigbergk <martinvonz@google.com>
parents:
45765
diff
changeset
|
1306 |
[10] |
17334
39c01f8e7b39
templater: handle a missing value correctly
Ross Lagerwall <rosslagerwall@gmail.com>
parents:
16917
diff
changeset
|
1307 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1308 |
Error if include fails: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1309 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1310 |
$ echo 'changeset = q' >> t |
20008
e54a078153f7
tests: skip tests that require not having root (issue4089)
Matt Mackall <mpm@selenic.com>
parents:
19989
diff
changeset
|
1311 |
#if unix-permissions no-root |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1312 |
$ hg log --style ./t |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1313 |
abort: template file ./q: Permission denied |
12316
4134686b83e1
tests: add exit codes to unified tests
Matt Mackall <mpm@selenic.com>
parents:
12283
diff
changeset
|
1314 |
[255] |
27994
90cff855ae1c
tests: remove protected file forcibly for portability
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
27940
diff
changeset
|
1315 |
$ rm -f q |
16917
bebe376b938f
test-command-template: enable for Windows
Adrian Buehlmann <adrian@cadifra.com>
parents:
16678
diff
changeset
|
1316 |
#endif |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1317 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1318 |
Include works: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1319 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1320 |
$ echo '{rev}' > q |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1321 |
$ hg log --style ./t |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1322 |
8 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1323 |
7 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1324 |
6 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1325 |
5 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1326 |
4 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1327 |
3 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1328 |
2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1329 |
1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1330 |
0 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1331 |
|
22764
1e2f54a149e8
templater: set the correct phase for parents
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22668
diff
changeset
|
1332 |
$ hg phase -r 5 --public |
1e2f54a149e8
templater: set the correct phase for parents
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22668
diff
changeset
|
1333 |
$ hg phase -r 7 --secret --force |
1e2f54a149e8
templater: set the correct phase for parents
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
22668
diff
changeset
|
1334 |
|
19770
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1335 |
Missing non-standard names give no error (backward compatibility): |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1336 |
|
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1337 |
$ echo "changeset = '{c}'" > t |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1338 |
$ hg log --style ./t |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1339 |
|
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1340 |
Defining non-standard name works: |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1341 |
|
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1342 |
$ cat <<EOF > t |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1343 |
> changeset = '{c}' |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1344 |
> c = q |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1345 |
> EOF |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1346 |
$ hg log --style ./t |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1347 |
8 |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1348 |
7 |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1349 |
6 |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1350 |
5 |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1351 |
4 |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1352 |
3 |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1353 |
2 |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1354 |
1 |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1355 |
0 |
0361163efbaf
templater: support using templates with non-standard names from map file
Alexander Plavin <alexander@plav.in>
parents:
19330
diff
changeset
|
1356 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1357 |
ui.style works: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1358 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1359 |
$ echo '[ui]' > .hg/hgrc |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1360 |
$ echo 'style = t' >> .hg/hgrc |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1361 |
$ hg log |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1362 |
8 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1363 |
7 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1364 |
6 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1365 |
5 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1366 |
4 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1367 |
3 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1368 |
2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1369 |
1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1370 |
0 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1371 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1372 |
Issue338: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1373 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1374 |
$ hg log --style=changelog > changelog |
1915
9598cde4756d
add tests for command line template.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
1375 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1376 |
$ cat changelog |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1377 |
2020-01-01 test <test> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1378 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1379 |
* fourth, second, third: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1380 |
third |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1381 |
[95c24699272e] [tip] |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1382 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1383 |
1970-01-12 User Name <user@hostname> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1384 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1385 |
* second: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1386 |
second |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1387 |
[29114dbae42b] |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1388 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1389 |
1970-01-18 person <person> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1390 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1391 |
* merge |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
1392 |
[d41e714fe50d] |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1393 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1394 |
* d: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1395 |
new head |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1396 |
[13207e5a10d9] |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1397 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1398 |
1970-01-17 person <person> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1399 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1400 |
* new branch |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
1401 |
[bbe44766e73d] <foo> |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1402 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1403 |
1970-01-16 person <person> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1404 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1405 |
* c: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1406 |
no user, no domain |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1407 |
[10e46f2dcbf4] |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1408 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1409 |
1970-01-14 other <other@place> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1410 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1411 |
* c: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1412 |
no person |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1413 |
[97054abb4ab8] |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1414 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1415 |
1970-01-13 A. N. Other <other@place> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1416 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1417 |
* b: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1418 |
other 1 other 2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1419 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1420 |
other 3 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1421 |
[b608e9d1a3f0] |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1422 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1423 |
1970-01-12 User Name <user@hostname> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1424 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1425 |
* a: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1426 |
line 1 line 2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1427 |
[1e4e1b8f71e0] |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1428 |
|
1915
9598cde4756d
add tests for command line template.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
diff
changeset
|
1429 |
|
12399
4fee1fd3de9a
tests: added a short description to issue numbers
Martin Geisler <mg@aragost.com>
parents:
12316
diff
changeset
|
1430 |
Issue2130: xml output for 'hg heads' is malformed |
3193
a6d0cd63068c
Make "hg log --style=changelog > changelog" work (issue338)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1939
diff
changeset
|
1431 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1432 |
$ hg heads --style changelog |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1433 |
2020-01-01 test <test> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1434 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1435 |
* fourth, second, third: |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1436 |
third |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1437 |
[95c24699272e] [tip] |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1438 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1439 |
1970-01-18 person <person> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1440 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1441 |
* merge |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
1442 |
[d41e714fe50d] |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1443 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1444 |
1970-01-17 person <person> |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1445 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1446 |
* new branch |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13666
diff
changeset
|
1447 |
[bbe44766e73d] <foo> |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1448 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1449 |
|
25005
5ddbb024c2e9
tests: fix hidden repeatability problem with age filter test
Matt Mackall <mpm@selenic.com>
parents:
25003
diff
changeset
|
1450 |
Add a dummy commit to make up for the instability of the above: |
5ddbb024c2e9
tests: fix hidden repeatability problem with age filter test
Matt Mackall <mpm@selenic.com>
parents:
25003
diff
changeset
|
1451 |
|
5ddbb024c2e9
tests: fix hidden repeatability problem with age filter test
Matt Mackall <mpm@selenic.com>
parents:
25003
diff
changeset
|
1452 |
$ echo a > a |
5ddbb024c2e9
tests: fix hidden repeatability problem with age filter test
Matt Mackall <mpm@selenic.com>
parents:
25003
diff
changeset
|
1453 |
$ hg add a |
5ddbb024c2e9
tests: fix hidden repeatability problem with age filter test
Matt Mackall <mpm@selenic.com>
parents:
25003
diff
changeset
|
1454 |
$ hg ci -m future |
5ddbb024c2e9
tests: fix hidden repeatability problem with age filter test
Matt Mackall <mpm@selenic.com>
parents:
25003
diff
changeset
|
1455 |
|
24985
20bff5d09018
tests: add a new commit to test-commandline-template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24966
diff
changeset
|
1456 |
Add a commit that does all possible modifications at once |
20bff5d09018
tests: add a new commit to test-commandline-template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24966
diff
changeset
|
1457 |
|
20bff5d09018
tests: add a new commit to test-commandline-template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24966
diff
changeset
|
1458 |
$ echo modify >> third |
20bff5d09018
tests: add a new commit to test-commandline-template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24966
diff
changeset
|
1459 |
$ touch b |
20bff5d09018
tests: add a new commit to test-commandline-template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24966
diff
changeset
|
1460 |
$ hg add b |
20bff5d09018
tests: add a new commit to test-commandline-template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24966
diff
changeset
|
1461 |
$ hg mv fourth fifth |
20bff5d09018
tests: add a new commit to test-commandline-template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24966
diff
changeset
|
1462 |
$ hg rm a |
20bff5d09018
tests: add a new commit to test-commandline-template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24966
diff
changeset
|
1463 |
$ hg ci -m "Modify, add, remove, rename" |
20bff5d09018
tests: add a new commit to test-commandline-template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
24966
diff
changeset
|
1464 |
|
25006
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1465 |
Check the status template |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1466 |
|
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1467 |
$ cat <<EOF >> $HGRCPATH |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1468 |
> [extensions] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1469 |
> color= |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1470 |
> EOF |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1471 |
|
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1472 |
$ hg log -T status -r 10 |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1473 |
changeset: 10:0f9759ec227a |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1474 |
tag: tip |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1475 |
user: test |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1476 |
date: Thu Jan 01 00:00:00 1970 +0000 |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1477 |
summary: Modify, add, remove, rename |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1478 |
files: |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1479 |
M third |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1480 |
A b |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1481 |
A fifth |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1482 |
R a |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1483 |
R fourth |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1484 |
|
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1485 |
$ hg log -T status -C -r 10 |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1486 |
changeset: 10:0f9759ec227a |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1487 |
tag: tip |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1488 |
user: test |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1489 |
date: Thu Jan 01 00:00:00 1970 +0000 |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1490 |
summary: Modify, add, remove, rename |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1491 |
files: |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1492 |
M third |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1493 |
A b |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1494 |
A fifth |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1495 |
fourth |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1496 |
R a |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1497 |
R fourth |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1498 |
|
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1499 |
$ hg log -T status -C -r 10 -v |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1500 |
changeset: 10:0f9759ec227a |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1501 |
tag: tip |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1502 |
user: test |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1503 |
date: Thu Jan 01 00:00:00 1970 +0000 |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1504 |
description: |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1505 |
Modify, add, remove, rename |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1506 |
|
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1507 |
files: |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1508 |
M third |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1509 |
A b |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1510 |
A fifth |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1511 |
fourth |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1512 |
R a |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1513 |
R fourth |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1514 |
|
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1515 |
$ hg log -T status -C -r 10 --debug |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1516 |
changeset: 10:0f9759ec227a4859c2014a345cd8a859022b7c6c |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1517 |
tag: tip |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1518 |
phase: secret |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1519 |
parent: 9:bf9dfba36635106d6a73ccc01e28b762da60e066 |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1520 |
parent: -1:0000000000000000000000000000000000000000 |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1521 |
manifest: 8:89dd546f2de0a9d6d664f58d86097eb97baba567 |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1522 |
user: test |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1523 |
date: Thu Jan 01 00:00:00 1970 +0000 |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1524 |
extra: branch=default |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1525 |
description: |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1526 |
Modify, add, remove, rename |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1527 |
|
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1528 |
files: |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1529 |
M third |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1530 |
A b |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1531 |
A fifth |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1532 |
fourth |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1533 |
R a |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1534 |
R fourth |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1535 |
|
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1536 |
$ hg log -T status -C -r 10 --quiet |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1537 |
10:0f9759ec227a |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1538 |
$ hg --color=debug log -T status -r 10 |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1539 |
[log.changeset changeset.secret|changeset: 10:0f9759ec227a] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1540 |
[log.tag|tag: tip] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1541 |
[log.user|user: test] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1542 |
[log.date|date: Thu Jan 01 00:00:00 1970 +0000] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1543 |
[log.summary|summary: Modify, add, remove, rename] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1544 |
[ui.note log.files|files:] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1545 |
[status.modified|M third] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1546 |
[status.added|A b] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1547 |
[status.added|A fifth] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1548 |
[status.removed|R a] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1549 |
[status.removed|R fourth] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1550 |
|
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1551 |
$ hg --color=debug log -T status -C -r 10 |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1552 |
[log.changeset changeset.secret|changeset: 10:0f9759ec227a] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1553 |
[log.tag|tag: tip] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1554 |
[log.user|user: test] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1555 |
[log.date|date: Thu Jan 01 00:00:00 1970 +0000] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1556 |
[log.summary|summary: Modify, add, remove, rename] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1557 |
[ui.note log.files|files:] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1558 |
[status.modified|M third] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1559 |
[status.added|A b] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1560 |
[status.added|A fifth] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1561 |
[status.copied| fourth] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1562 |
[status.removed|R a] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1563 |
[status.removed|R fourth] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1564 |
|
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1565 |
$ hg --color=debug log -T status -C -r 10 -v |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1566 |
[log.changeset changeset.secret|changeset: 10:0f9759ec227a] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1567 |
[log.tag|tag: tip] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1568 |
[log.user|user: test] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1569 |
[log.date|date: Thu Jan 01 00:00:00 1970 +0000] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1570 |
[ui.note log.description|description:] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1571 |
[ui.note log.description|Modify, add, remove, rename] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1572 |
|
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1573 |
[ui.note log.files|files:] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1574 |
[status.modified|M third] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1575 |
[status.added|A b] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1576 |
[status.added|A fifth] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1577 |
[status.copied| fourth] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1578 |
[status.removed|R a] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1579 |
[status.removed|R fourth] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1580 |
|
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1581 |
$ hg --color=debug log -T status -C -r 10 --debug |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1582 |
[log.changeset changeset.secret|changeset: 10:0f9759ec227a4859c2014a345cd8a859022b7c6c] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1583 |
[log.tag|tag: tip] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1584 |
[log.phase|phase: secret] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1585 |
[log.parent changeset.secret|parent: 9:bf9dfba36635106d6a73ccc01e28b762da60e066] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1586 |
[log.parent changeset.public|parent: -1:0000000000000000000000000000000000000000] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1587 |
[ui.debug log.manifest|manifest: 8:89dd546f2de0a9d6d664f58d86097eb97baba567] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1588 |
[log.user|user: test] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1589 |
[log.date|date: Thu Jan 01 00:00:00 1970 +0000] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1590 |
[ui.debug log.extra|extra: branch=default] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1591 |
[ui.note log.description|description:] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1592 |
[ui.note log.description|Modify, add, remove, rename] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1593 |
|
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1594 |
[ui.note log.files|files:] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1595 |
[status.modified|M third] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1596 |
[status.added|A b] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1597 |
[status.added|A fifth] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1598 |
[status.copied| fourth] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1599 |
[status.removed|R a] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1600 |
[status.removed|R fourth] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1601 |
|
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1602 |
$ hg --color=debug log -T status -C -r 10 --quiet |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1603 |
[log.node|10:0f9759ec227a] |
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1604 |
|
25007
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1605 |
Check the bisect template |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1606 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1607 |
$ hg bisect -g 1 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1608 |
$ hg bisect -b 3 --noupdate |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1609 |
Testing changeset 2:97054abb4ab8 (2 changesets remaining, ~1 tests) |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1610 |
$ hg log -T bisect -r 0:4 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1611 |
changeset: 0:1e4e1b8f71e0 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1612 |
bisect: good (implicit) |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1613 |
user: User Name <user@hostname> |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1614 |
date: Mon Jan 12 13:46:40 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1615 |
summary: line 1 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1616 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1617 |
changeset: 1:b608e9d1a3f0 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1618 |
bisect: good |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1619 |
user: A. N. Other <other@place> |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1620 |
date: Tue Jan 13 17:33:20 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1621 |
summary: other 1 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1622 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1623 |
changeset: 2:97054abb4ab8 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1624 |
bisect: untested |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1625 |
user: other@place |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1626 |
date: Wed Jan 14 21:20:00 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1627 |
summary: no person |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1628 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1629 |
changeset: 3:10e46f2dcbf4 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1630 |
bisect: bad |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1631 |
user: person |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1632 |
date: Fri Jan 16 01:06:40 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1633 |
summary: no user, no domain |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1634 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1635 |
changeset: 4:bbe44766e73d |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1636 |
bisect: bad (implicit) |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1637 |
branch: foo |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1638 |
user: person |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1639 |
date: Sat Jan 17 04:53:20 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1640 |
summary: new branch |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1641 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1642 |
$ hg log --debug -T bisect -r 0:4 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1643 |
changeset: 0:1e4e1b8f71e05681d422154f5421e385fec3454f |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1644 |
bisect: good (implicit) |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1645 |
phase: public |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1646 |
parent: -1:0000000000000000000000000000000000000000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1647 |
parent: -1:0000000000000000000000000000000000000000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1648 |
manifest: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1649 |
user: User Name <user@hostname> |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1650 |
date: Mon Jan 12 13:46:40 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1651 |
files+: a |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1652 |
extra: branch=default |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1653 |
description: |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1654 |
line 1 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1655 |
line 2 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1656 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1657 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1658 |
changeset: 1:b608e9d1a3f0273ccf70fb85fd6866b3482bf965 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1659 |
bisect: good |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1660 |
phase: public |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1661 |
parent: 0:1e4e1b8f71e05681d422154f5421e385fec3454f |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1662 |
parent: -1:0000000000000000000000000000000000000000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1663 |
manifest: 1:4e8d705b1e53e3f9375e0e60dc7b525d8211fe55 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1664 |
user: A. N. Other <other@place> |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1665 |
date: Tue Jan 13 17:33:20 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1666 |
files+: b |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1667 |
extra: branch=default |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1668 |
description: |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1669 |
other 1 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1670 |
other 2 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1671 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1672 |
other 3 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1673 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1674 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1675 |
changeset: 2:97054abb4ab824450e9164180baf491ae0078465 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1676 |
bisect: untested |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1677 |
phase: public |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1678 |
parent: 1:b608e9d1a3f0273ccf70fb85fd6866b3482bf965 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1679 |
parent: -1:0000000000000000000000000000000000000000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1680 |
manifest: 2:6e0e82995c35d0d57a52aca8da4e56139e06b4b1 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1681 |
user: other@place |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1682 |
date: Wed Jan 14 21:20:00 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1683 |
files+: c |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1684 |
extra: branch=default |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1685 |
description: |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1686 |
no person |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1687 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1688 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1689 |
changeset: 3:10e46f2dcbf4823578cf180f33ecf0b957964c47 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1690 |
bisect: bad |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1691 |
phase: public |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1692 |
parent: 2:97054abb4ab824450e9164180baf491ae0078465 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1693 |
parent: -1:0000000000000000000000000000000000000000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1694 |
manifest: 3:cb5a1327723bada42f117e4c55a303246eaf9ccc |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1695 |
user: person |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1696 |
date: Fri Jan 16 01:06:40 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1697 |
files: c |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1698 |
extra: branch=default |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1699 |
description: |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1700 |
no user, no domain |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1701 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1702 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1703 |
changeset: 4:bbe44766e73d5f11ed2177f1838de10c53ef3e74 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1704 |
bisect: bad (implicit) |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1705 |
branch: foo |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1706 |
phase: draft |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1707 |
parent: 3:10e46f2dcbf4823578cf180f33ecf0b957964c47 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1708 |
parent: -1:0000000000000000000000000000000000000000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1709 |
manifest: 3:cb5a1327723bada42f117e4c55a303246eaf9ccc |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1710 |
user: person |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1711 |
date: Sat Jan 17 04:53:20 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1712 |
extra: branch=foo |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1713 |
description: |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1714 |
new branch |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1715 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1716 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1717 |
$ hg log -v -T bisect -r 0:4 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1718 |
changeset: 0:1e4e1b8f71e0 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1719 |
bisect: good (implicit) |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1720 |
user: User Name <user@hostname> |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1721 |
date: Mon Jan 12 13:46:40 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1722 |
files: a |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1723 |
description: |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1724 |
line 1 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1725 |
line 2 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1726 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1727 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1728 |
changeset: 1:b608e9d1a3f0 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1729 |
bisect: good |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1730 |
user: A. N. Other <other@place> |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1731 |
date: Tue Jan 13 17:33:20 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1732 |
files: b |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1733 |
description: |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1734 |
other 1 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1735 |
other 2 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1736 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1737 |
other 3 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1738 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1739 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1740 |
changeset: 2:97054abb4ab8 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1741 |
bisect: untested |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1742 |
user: other@place |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1743 |
date: Wed Jan 14 21:20:00 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1744 |
files: c |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1745 |
description: |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1746 |
no person |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1747 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1748 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1749 |
changeset: 3:10e46f2dcbf4 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1750 |
bisect: bad |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1751 |
user: person |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1752 |
date: Fri Jan 16 01:06:40 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1753 |
files: c |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1754 |
description: |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1755 |
no user, no domain |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1756 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1757 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1758 |
changeset: 4:bbe44766e73d |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1759 |
bisect: bad (implicit) |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1760 |
branch: foo |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1761 |
user: person |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1762 |
date: Sat Jan 17 04:53:20 1970 +0000 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1763 |
description: |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1764 |
new branch |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1765 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1766 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1767 |
$ hg --color=debug log -T bisect -r 0:4 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1768 |
[log.changeset changeset.public|changeset: 0:1e4e1b8f71e0] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1769 |
[log.bisect bisect.good|bisect: good (implicit)] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1770 |
[log.user|user: User Name <user@hostname>] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1771 |
[log.date|date: Mon Jan 12 13:46:40 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1772 |
[log.summary|summary: line 1] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1773 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1774 |
[log.changeset changeset.public|changeset: 1:b608e9d1a3f0] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1775 |
[log.bisect bisect.good|bisect: good] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1776 |
[log.user|user: A. N. Other <other@place>] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1777 |
[log.date|date: Tue Jan 13 17:33:20 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1778 |
[log.summary|summary: other 1] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1779 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1780 |
[log.changeset changeset.public|changeset: 2:97054abb4ab8] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1781 |
[log.bisect bisect.untested|bisect: untested] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1782 |
[log.user|user: other@place] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1783 |
[log.date|date: Wed Jan 14 21:20:00 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1784 |
[log.summary|summary: no person] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1785 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1786 |
[log.changeset changeset.public|changeset: 3:10e46f2dcbf4] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1787 |
[log.bisect bisect.bad|bisect: bad] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1788 |
[log.user|user: person] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1789 |
[log.date|date: Fri Jan 16 01:06:40 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1790 |
[log.summary|summary: no user, no domain] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1791 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1792 |
[log.changeset changeset.draft|changeset: 4:bbe44766e73d] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1793 |
[log.bisect bisect.bad|bisect: bad (implicit)] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1794 |
[log.branch|branch: foo] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1795 |
[log.user|user: person] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1796 |
[log.date|date: Sat Jan 17 04:53:20 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1797 |
[log.summary|summary: new branch] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1798 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1799 |
$ hg --color=debug log --debug -T bisect -r 0:4 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1800 |
[log.changeset changeset.public|changeset: 0:1e4e1b8f71e05681d422154f5421e385fec3454f] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1801 |
[log.bisect bisect.good|bisect: good (implicit)] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1802 |
[log.phase|phase: public] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1803 |
[log.parent changeset.public|parent: -1:0000000000000000000000000000000000000000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1804 |
[log.parent changeset.public|parent: -1:0000000000000000000000000000000000000000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1805 |
[ui.debug log.manifest|manifest: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1806 |
[log.user|user: User Name <user@hostname>] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1807 |
[log.date|date: Mon Jan 12 13:46:40 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1808 |
[ui.debug log.files|files+: a] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1809 |
[ui.debug log.extra|extra: branch=default] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1810 |
[ui.note log.description|description:] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1811 |
[ui.note log.description|line 1 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1812 |
line 2] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1813 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1814 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1815 |
[log.changeset changeset.public|changeset: 1:b608e9d1a3f0273ccf70fb85fd6866b3482bf965] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1816 |
[log.bisect bisect.good|bisect: good] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1817 |
[log.phase|phase: public] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1818 |
[log.parent changeset.public|parent: 0:1e4e1b8f71e05681d422154f5421e385fec3454f] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1819 |
[log.parent changeset.public|parent: -1:0000000000000000000000000000000000000000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1820 |
[ui.debug log.manifest|manifest: 1:4e8d705b1e53e3f9375e0e60dc7b525d8211fe55] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1821 |
[log.user|user: A. N. Other <other@place>] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1822 |
[log.date|date: Tue Jan 13 17:33:20 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1823 |
[ui.debug log.files|files+: b] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1824 |
[ui.debug log.extra|extra: branch=default] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1825 |
[ui.note log.description|description:] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1826 |
[ui.note log.description|other 1 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1827 |
other 2 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1828 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1829 |
other 3] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1830 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1831 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1832 |
[log.changeset changeset.public|changeset: 2:97054abb4ab824450e9164180baf491ae0078465] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1833 |
[log.bisect bisect.untested|bisect: untested] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1834 |
[log.phase|phase: public] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1835 |
[log.parent changeset.public|parent: 1:b608e9d1a3f0273ccf70fb85fd6866b3482bf965] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1836 |
[log.parent changeset.public|parent: -1:0000000000000000000000000000000000000000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1837 |
[ui.debug log.manifest|manifest: 2:6e0e82995c35d0d57a52aca8da4e56139e06b4b1] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1838 |
[log.user|user: other@place] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1839 |
[log.date|date: Wed Jan 14 21:20:00 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1840 |
[ui.debug log.files|files+: c] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1841 |
[ui.debug log.extra|extra: branch=default] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1842 |
[ui.note log.description|description:] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1843 |
[ui.note log.description|no person] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1844 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1845 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1846 |
[log.changeset changeset.public|changeset: 3:10e46f2dcbf4823578cf180f33ecf0b957964c47] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1847 |
[log.bisect bisect.bad|bisect: bad] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1848 |
[log.phase|phase: public] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1849 |
[log.parent changeset.public|parent: 2:97054abb4ab824450e9164180baf491ae0078465] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1850 |
[log.parent changeset.public|parent: -1:0000000000000000000000000000000000000000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1851 |
[ui.debug log.manifest|manifest: 3:cb5a1327723bada42f117e4c55a303246eaf9ccc] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1852 |
[log.user|user: person] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1853 |
[log.date|date: Fri Jan 16 01:06:40 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1854 |
[ui.debug log.files|files: c] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1855 |
[ui.debug log.extra|extra: branch=default] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1856 |
[ui.note log.description|description:] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1857 |
[ui.note log.description|no user, no domain] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1858 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1859 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1860 |
[log.changeset changeset.draft|changeset: 4:bbe44766e73d5f11ed2177f1838de10c53ef3e74] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1861 |
[log.bisect bisect.bad|bisect: bad (implicit)] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1862 |
[log.branch|branch: foo] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1863 |
[log.phase|phase: draft] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1864 |
[log.parent changeset.public|parent: 3:10e46f2dcbf4823578cf180f33ecf0b957964c47] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1865 |
[log.parent changeset.public|parent: -1:0000000000000000000000000000000000000000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1866 |
[ui.debug log.manifest|manifest: 3:cb5a1327723bada42f117e4c55a303246eaf9ccc] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1867 |
[log.user|user: person] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1868 |
[log.date|date: Sat Jan 17 04:53:20 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1869 |
[ui.debug log.extra|extra: branch=foo] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1870 |
[ui.note log.description|description:] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1871 |
[ui.note log.description|new branch] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1872 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1873 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1874 |
$ hg --color=debug log -v -T bisect -r 0:4 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1875 |
[log.changeset changeset.public|changeset: 0:1e4e1b8f71e0] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1876 |
[log.bisect bisect.good|bisect: good (implicit)] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1877 |
[log.user|user: User Name <user@hostname>] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1878 |
[log.date|date: Mon Jan 12 13:46:40 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1879 |
[ui.note log.files|files: a] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1880 |
[ui.note log.description|description:] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1881 |
[ui.note log.description|line 1 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1882 |
line 2] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1883 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1884 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1885 |
[log.changeset changeset.public|changeset: 1:b608e9d1a3f0] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1886 |
[log.bisect bisect.good|bisect: good] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1887 |
[log.user|user: A. N. Other <other@place>] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1888 |
[log.date|date: Tue Jan 13 17:33:20 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1889 |
[ui.note log.files|files: b] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1890 |
[ui.note log.description|description:] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1891 |
[ui.note log.description|other 1 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1892 |
other 2 |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1893 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1894 |
other 3] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1895 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1896 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1897 |
[log.changeset changeset.public|changeset: 2:97054abb4ab8] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1898 |
[log.bisect bisect.untested|bisect: untested] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1899 |
[log.user|user: other@place] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1900 |
[log.date|date: Wed Jan 14 21:20:00 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1901 |
[ui.note log.files|files: c] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1902 |
[ui.note log.description|description:] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1903 |
[ui.note log.description|no person] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1904 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1905 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1906 |
[log.changeset changeset.public|changeset: 3:10e46f2dcbf4] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1907 |
[log.bisect bisect.bad|bisect: bad] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1908 |
[log.user|user: person] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1909 |
[log.date|date: Fri Jan 16 01:06:40 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1910 |
[ui.note log.files|files: c] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1911 |
[ui.note log.description|description:] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1912 |
[ui.note log.description|no user, no domain] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1913 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1914 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1915 |
[log.changeset changeset.draft|changeset: 4:bbe44766e73d] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1916 |
[log.bisect bisect.bad|bisect: bad (implicit)] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1917 |
[log.branch|branch: foo] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1918 |
[log.user|user: person] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1919 |
[log.date|date: Sat Jan 17 04:53:20 1970 +0000] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1920 |
[ui.note log.description|description:] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1921 |
[ui.note log.description|new branch] |
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1922 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1923 |
|
7c324f65e4ef
map-cmdline.bisect: rewrite to just %include the default template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25006
diff
changeset
|
1924 |
$ hg bisect --reset |
25006
517763f87141
log: add a status template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
25005
diff
changeset
|
1925 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1926 |
$ cd .. |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1927 |
|
38433
ddce7bdf7f3c
tests: extract test-template-map.t from test-command-template.t
Yuya Nishihara <yuya@tcha.org>
parents:
38427
diff
changeset
|
1928 |
Set up latesttag repository: |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1929 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1930 |
$ hg init latesttag |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1931 |
$ cd latesttag |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1932 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1933 |
$ echo a > file |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1934 |
$ hg ci -Am a -d '0 0' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1935 |
adding file |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1936 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1937 |
$ echo b >> file |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1938 |
$ hg ci -m b -d '1 0' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1939 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1940 |
$ echo c >> head1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1941 |
$ hg ci -Am h1c -d '2 0' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1942 |
adding head1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1943 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1944 |
$ hg update -q 1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1945 |
$ echo d >> head2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1946 |
$ hg ci -Am h2d -d '3 0' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1947 |
adding head2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1948 |
created new head |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1949 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1950 |
$ echo e >> head2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1951 |
$ hg ci -m h2e -d '4 0' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1952 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1953 |
$ hg merge -q |
19989
c38c3fdc8b93
date: allow %z in format (issue4040)
Matt Mackall <mpm@selenic.com>
parents:
19770
diff
changeset
|
1954 |
$ hg ci -m merge -d '5 -3600' |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1955 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1956 |
$ hg tag -r 1 -m t1 -d '6 0' t1 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1957 |
$ hg tag -r 2 -m t2 -d '7 0' t2 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1958 |
$ hg tag -r 3 -m t3 -d '8 0' t3 |
33862
fb672eac2702
templatekw: choose {latesttag} by len(changes), not date (issue5659)
Martin von Zweigbergk <martinvonz@google.com>
parents:
33861
diff
changeset
|
1959 |
$ hg tag -r 4 -m t4 -d '4 0' t4 # older than t2, but should not matter |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1960 |
$ hg tag -r 5 -m t5 -d '9 0' t5 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1961 |
$ hg tag -r 3 -m at3 -d '10 0' at3 |
26485
43bf9471fae9
templater: introduce {latesttag()} function to match a pattern (issue4184)
Matt Harbison <matt_harbison@yahoo.com>
parents:
26234
diff
changeset
|
1962 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1963 |
$ cd .. |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1964 |
|
12399
4fee1fd3de9a
tests: added a short description to issue numbers
Martin Geisler <mg@aragost.com>
parents:
12316
diff
changeset
|
1965 |
Style path expansion: issue1948 - ui.style option doesn't work on OSX |
4fee1fd3de9a
tests: added a short description to issue numbers
Martin Geisler <mg@aragost.com>
parents:
12316
diff
changeset
|
1966 |
if it is a relative path |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1967 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1968 |
$ mkdir -p home/styles |
10260
fe699ca08a45
templatekw: fix extras, manifest and showlist args (issue1989)
Patrick Mezard <pmezard@gmail.com>
parents:
10250
diff
changeset
|
1969 |
|
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1970 |
$ cat > home/styles/teststyle <<EOF |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1971 |
> changeset = 'test {rev}:{node|short}\n' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1972 |
> EOF |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1973 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1974 |
$ HOME=`pwd`/home; export HOME |
46092
08fd76a553c9
run-tests: configure the environment to expand `~` properly with Windows py38+
Matt Harbison <matt_harbison@yahoo.com>
parents:
46073
diff
changeset
|
1975 |
$ USERPROFILE=`pwd`/home; export USERPROFILE |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1976 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1977 |
$ cat > latesttag/.hg/hgrc <<EOF |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1978 |
> [ui] |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1979 |
> style = ~/styles/teststyle |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1980 |
> EOF |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1981 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1982 |
$ hg -R latesttag tip |
33862
fb672eac2702
templatekw: choose {latesttag} by len(changes), not date (issue5659)
Martin von Zweigbergk <martinvonz@google.com>
parents:
33861
diff
changeset
|
1983 |
test 11:97e5943b523a |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1984 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1985 |
Test recursive showlist template (issue1989): |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1986 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1987 |
$ cat > style1989 <<EOF |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1988 |
> changeset = '{file_mods}{manifest}{extras}' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1989 |
> file_mod = 'M|{author|person}\n' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1990 |
> manifest = '{rev},{author}\n' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1991 |
> extra = '{key}: {author}\n' |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1992 |
> EOF |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1993 |
|
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1994 |
$ hg -R latesttag log -r tip --style=style1989 |
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1995 |
M|test |
39623
34ecc0a09c76
formatter: populate ctx from repo and node value
Yuya Nishihara <yuya@tcha.org>
parents:
38433
diff
changeset
|
1996 |
11, |
12283
850e089eb41c
tests: unify test-command-template
Adrian Buehlmann <adrian@cadifra.com>
parents:
11656
diff
changeset
|
1997 |
branch: test |