##// 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 b" end_file_adds = '\\n'"
14 14 start_file_dels = 'files-: '
15 15 file_del = ' {file_del}'
16 16 end_file_dels = '\n'
17 start_file_copies_switch = 'copies: '
17 start_file_copies = 'copies: '
18 18 file_copy = ' {name} ({source})'
19 end_file_copies_switch = '\n'
19 end_file_copies = '\n'
20 20 parent = 'parent: {rev}:{node|formatnode}\n'
21 21 manifest = 'manifest: {rev}:{node}\n'
22 22 branch = 'branch: {branch}\n'
@@ -38,6 +38,10 b" hg log -v --template '{rev} {file_copies"
38 38 echo '% log copies switch with --copies'
39 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 45 echo % log copies, non-linear manifest
42 46 hg up -C 3
43 47 hg mv dir/b e
@@ -94,6 +94,27 b' 3 b (a)'
94 94 2 dir/b (b)
95 95 1 b (a)
96 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 118 % log copies, non-linear manifest
98 119 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
99 120 adding foo
General Comments 0
You need to be logged in to leave comments. Login now