Show More
@@ -413,8 +413,12 b' class changeset_templater(object):' | |||
|
413 | 413 | def one(v, tag=name): |
|
414 | 414 | try: |
|
415 | 415 | vargs.update(v) |
|
416 | except ValueError: | |
|
417 |
|
|
|
416 | except (AttributeError, ValueError): | |
|
417 | try: | |
|
418 | for a, b in v: | |
|
419 | vargs[a] = b | |
|
420 | except ValueError: | |
|
421 | vargs[name] = v | |
|
418 | 422 | return self.t(tag, **vargs) |
|
419 | 423 | lastname = 'last_' + name |
|
420 | 424 | if lastname in self.t: |
@@ -441,8 +445,8 b' class changeset_templater(object):' | |||
|
441 | 445 | if self.ui.debugflag: |
|
442 | 446 | def showmanifest(**args): |
|
443 | 447 | args = args.copy() |
|
444 | args.update(rev=self.repo.manifest.rev(changes[0]), | |
|
445 | node=hex(changes[0])) | |
|
448 | args.update(dict(rev=self.repo.manifest.rev(changes[0]), | |
|
449 | node=hex(changes[0]))) | |
|
446 | 450 | yield self.t('manifest', **args) |
|
447 | 451 | else: |
|
448 | 452 | showmanifest = '' |
General Comments 0
You need to be logged in to leave comments.
Login now