[PATCH 4 of 4] summary: show if commit will be from a closed head

Matt Mackall mpm at selenic.com
Wed May 12 10:35:25 CDT 2010


On Wed, 2010-05-12 at 14:17 +0200, Gilles Moris wrote:
> On Wednesday 12 May 2010 10:15:55 am Gilles Moris wrote:
> >      elif branch != parents[0].branch():
> >          t += _(' (new branch)')
> > +    elif parents[0].extra().get('close') and not branchchildren:
> > +        t += _(' (head closed)')
> >      elif (not st[0] and not st[1] and not st[2] and not st[7]):
> >          t += _(' (clean)')
> 
> May be should be
>   elif parents[0].extra().get('close') and
>        pnode in repo.branchheads(branch, closed=True):
>       t += _(' (head closed)')

I've queued this variant, thanks.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list