Changeset 3120cec1f7ba…
Parent f1ffb56159cb…
by
Changes to one file · Browse files at 3120cec1f7ba Showing diff from parent f1ffb56159cb Diff from another changeset...
@@ -588,7 +588,7 @@ msg = '*** ' + _('Working Directory') + ' ***'
for pctx in ctx.parents():
- if pctx.node() not in self.repo._branchheads:
+ if self.repo._branchheads and pctx.node() not in self.repo._branchheads:
text = _('Not a head revision!')
msg += " " + qtlib.markup(text, fg='red', weight='bold')
|
Loading...