##// END OF EJS Templates
Fix default style so 'log --copies' has a start and an end.
Greg Ward -
r10776:08870cf7 stable
parent child Browse files
Show More
@@ -14,9 +14,9 end_file_adds = '\n'
14 start_file_dels = 'files-: '
14 start_file_dels = 'files-: '
15 file_del = ' {file_del}'
15 file_del = ' {file_del}'
16 end_file_dels = '\n'
16 end_file_dels = '\n'
17 start_file_copies_switch = 'copies: '
17 start_file_copies = 'copies: '
18 file_copy = ' {name} ({source})'
18 file_copy = ' {name} ({source})'
19 end_file_copies_switch = '\n'
19 end_file_copies = '\n'
20 parent = 'parent: {rev}:{node|formatnode}\n'
20 parent = 'parent: {rev}:{node|formatnode}\n'
21 manifest = 'manifest: {rev}:{node}\n'
21 manifest = 'manifest: {rev}:{node}\n'
22 branch = 'branch: {branch}\n'
22 branch = 'branch: {branch}\n'
@@ -38,6 +38,10 hg log -v --template '{rev} {file_copies
38 echo '% log copies switch with --copies'
38 echo '% log copies switch with --copies'
39 hg log -vC --template '{rev} {file_copies_switch}\n'
39 hg log -vC --template '{rev} {file_copies_switch}\n'
40
40
41 echo '% log copies with hardcoded style and with --style=default'
42 hg log -vC -r4
43 hg log -vC -r4 --style=default
44
41 echo % log copies, non-linear manifest
45 echo % log copies, non-linear manifest
42 hg up -C 3
46 hg up -C 3
43 hg mv dir/b e
47 hg mv dir/b e
@@ -94,6 +94,27 3 b (a)
94 2 dir/b (b)
94 2 dir/b (b)
95 1 b (a)
95 1 b (a)
96 0
96 0
97 % log copies with hardcoded style and with --style=default
98 changeset: 4:66c1345dc4f9
99 tag: tip
100 user: test
101 date: Thu Jan 01 00:00:05 1970 +0000
102 files: dir/b e
103 copies: e (dir/b)
104 description:
105 e
106
107
108 changeset: 4:66c1345dc4f9
109 tag: tip
110 user: test
111 date: Thu Jan 01 00:00:05 1970 +0000
112 files: dir/b e
113 copies: e (dir/b)
114 description:
115 e
116
117
97 % log copies, non-linear manifest
118 % log copies, non-linear manifest
98 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
119 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
99 adding foo
120 adding foo
General Comments 0
You need to be logged in to leave comments. Login now