##// END OF EJS Templates
fix 'hg <not-log> -v --template foo' with revisions without copies
Alexis S. L. Carvalho -
r4351:3380eb6d default
parent child Browse files
Show More
@@ -224,7 +224,7 b' class changeset_printer(object):'
224 224 return 1
225 225 return 0
226 226
227 def show(self, rev=0, changenode=None, copies=None, **props):
227 def show(self, rev=0, changenode=None, copies=(), **props):
228 228 if self.buffered:
229 229 self.ui.pushbuffer()
230 230 self._show(rev, changenode, copies, props)
@@ -39,6 +39,9 b' hg log --debug > log.out'
39 39 hg log --debug --style default > style.out
40 40 diff log.out style.out
41 41
42 echo '# revision with no copies (used to print a traceback)'
43 hg tip -v --template '\n'
44
42 45 echo '# compact style works'
43 46 hg log --style compact
44 47 hg log -v --style compact
@@ -2,6 +2,8 b''
2 2 # normal
3 3 # verbose
4 4 # debug
5 # revision with no copies (used to print a traceback)
6
5 7 # compact style works
6 8 4[tip] 32a18f097fcc 1970-01-17 04:53 +0000 person
7 9 new branch
General Comments 0
You need to be logged in to leave comments. Login now