equal
deleted
inserted
replaced
1150 # causes unexpected behaviours at templating level and makes |
1150 # causes unexpected behaviours at templating level and makes |
1151 # it harder to extract it in a standalone function. Its |
1151 # it harder to extract it in a standalone function. Its |
1152 # behaviour cannot be changed so leave it here for now. |
1152 # behaviour cannot be changed so leave it here for now. |
1153 def showparents(**args): |
1153 def showparents(**args): |
1154 ctx = args['ctx'] |
1154 ctx = args['ctx'] |
1155 parents = [[('rev', p.rev()), ('node', p.hex())] |
1155 parents = [[('rev', p.rev()), |
|
1156 ('node', p.hex()), |
|
1157 ('phase', p.phasestr())] |
1156 for p in self._meaningful_parentrevs(ctx)] |
1158 for p in self._meaningful_parentrevs(ctx)] |
1157 return showlist('parent', parents, **args) |
1159 return showlist('parent', parents, **args) |
1158 |
1160 |
1159 props = props.copy() |
1161 props = props.copy() |
1160 props.update(templatekw.keywords) |
1162 props.update(templatekw.keywords) |