##// END OF EJS Templates
changeset_templater: only compute manifest when --debug.
Vadim Gelfer -
r1910:e2fe1953 default
parent child Browse files
Show More
@@ -430,11 +430,14 b' class changeset_templater(object):'
430 else:
430 else:
431 showbranches = ''
431 showbranches = ''
432
432
433 def showmanifest(**args):
433 if self.ui.debugflag:
434 args = args.copy()
434 def showmanifest(**args):
435 args.update(rev=self.repo.manifest.rev(changes[0]),
435 args = args.copy()
436 node=hex(changes[0]))
436 args.update(rev=self.repo.manifest.rev(changes[0]),
437 yield self.t('manifest', **args)
437 node=hex(changes[0]))
438 yield self.t('manifest', **args)
439 else:
440 showmanifest = ''
438
441
439 def showparents(**args):
442 def showparents(**args):
440 parents = [[('rev', log.rev(p)), ('node', hex(p))]
443 parents = [[('rev', log.rev(p)), ('node', hex(p))]
General Comments 0
You need to be logged in to leave comments. Login now