Changeset 88620d68d9a1…
Parent 570730b0de38…
by
Changes to one file · Browse files at 88620d68d9a1 Showing diff from parent 570730b0de38 Diff from another changeset...
@@ -658,7 +658,11 @@
def get_head_info(self):
def ishead(ctx):
- return len(ctx.children()) == 0
+ for cctx in ctx.children():
+ if cctx.branch() == ctx.branch():
+ return False
+ else:
+ return True
if self.mqmode:
ctxs = self.repo['.'].parents()
else:
|
Loading...