Changeset 3f715c0c759c…
Parent 00b74a958085…
by
Changes to one file · Browse files at 3f715c0c759c Showing diff from parent 00b74a958085 Diff from another changeset...
@@ -165,7 +165,9 @@ summary = toutf(summary)
except:
summary = ""
- change = str(pctx.rev()) + ' : ' + str(pctx)
+ change = str(pctx.rev()) + ' (' + str(pctx) + ')'
+ if pctx.branch() != ctx.branch():
+ change += ' [' + toutf(pctx.branch()) + ']'
title = _('parent:')
title += ' ' * (12 - len(title))
@@ -185,7 +187,9 @@ summary = toutf(summary)
except:
summary = ""
- change = str(cctx.rev()) + ' : ' + str(cctx)
+ change = str(cctx.rev()) + ' (' + str(cctx) + ')'
+ if cctx.branch() != ctx.branch():
+ change += ' [' + toutf(cctx.branch()) + ']'
title = _('child:')
title += ' ' * (12 - len(title))
buf.insert_with_tags_by_name(eob, title, 'parent')
|
Loading...