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

Gilles Moris gilles.moris at free.fr
Wed May 12 07:17:35 CDT 2010


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)')

Also is everybody OK with the precedence order, so that is comes before 
(clean) ?

Regards.
Gilles.


More information about the Mercurial-devel mailing list