[PATCH 1 of 2] log: display closing-branch nodes as "_" (BC)
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Mon Nov 24 23:16:20 UTC 2014
On 11/24/2014 01:48 PM, Jordi Gutiérrez Hermoso wrote:
> diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
> --- a/mercurial/cmdutil.py
> +++ b/mercurial/cmdutil.py
> @@ -1922,6 +1922,8 @@ def displaygraph(ui, dag, displayer, sho
> char = '@'
> elif ctx.obsolete():
> char = 'x'
> + elif ctx.closesbranch():
> + char = '_'
This will probably also trigger for re-opened branches. you should only
probably restrict this to real closed heads.
--
Pierre-Yves David
More information about the Mercurial-devel
mailing list