equal
deleted
inserted
replaced
476 return |
476 return |
477 mrev = repo.manifestlog._revlog.rev(mnode) |
477 mrev = repo.manifestlog._revlog.rev(mnode) |
478 mhex = hex(mnode) |
478 mhex = hex(mnode) |
479 mapping = mapping.copy() |
479 mapping = mapping.copy() |
480 mapping.update({'rev': mrev, 'node': mhex}) |
480 mapping.update({'rev': mrev, 'node': mhex}) |
481 f = templ('manifest', **pycompat.strkwargs(mapping)) |
481 f = templ.generate('manifest', mapping) |
482 # TODO: perhaps 'ctx' should be dropped from mapping because manifest |
482 # TODO: perhaps 'ctx' should be dropped from mapping because manifest |
483 # rev and node are completely different from changeset's. |
483 # rev and node are completely different from changeset's. |
484 return _mappable(f, None, f, lambda x: {'rev': mrev, 'node': mhex}) |
484 return _mappable(f, None, f, lambda x: {'rev': mrev, 'node': mhex}) |
485 |
485 |
486 @templatekeyword('obsfate', requires={'ui', 'repo', 'ctx', 'templ'}) |
486 @templatekeyword('obsfate', requires={'ui', 'repo', 'ctx', 'templ'}) |