Changeset f883746a9f0d…
Parent 9a440e62fbf6…
by
Changes to one file · Browse files at f883746a9f0d Showing diff from parent 9a440e62fbf6 Diff from another changeset...
@@ -509,11 +509,19 @@
def getlog(self, ctx, gnode):
if ctx.rev() is None:
+ msg = None
if self.unicodestar:
# The Unicode symbol is a black star:
- return u'\u2605 ' + _('Working Directory') + u' \u2605'
+ msg = u'\u2605 ' + _('Working Directory') + u' \u2605'
else:
- return '*** ' + _('Working Directory') + ' ***'
+ msg = '*** ' + _('Working Directory') + ' ***'
+
+ for pctx in ctx.parents():
+ if pctx.node() not in self.repo._branchheads:
+ text = _('Not a head revision!')
+ msg += " " + qtlib.markup(text, fg='red', weight='bold')
+
+ return msg
msg = ctx.longsummary()
|
Loading...