diff -r 468339891670 -r ac30adb260ea mercurial/cmdutil.py --- a/mercurial/cmdutil.py Mon Apr 11 12:06:18 2016 -0700 +++ b/mercurial/cmdutil.py Fri Apr 08 16:42:43 2016 +0200 @@ -2240,6 +2240,10 @@ styles[key]) if not styles[key]: styles[key] = None + + # experimental config: experimental.graphshorten + state['graphshorten'] = ui.configbool('experimental', 'graphshorten') + for rev, type, ctx, parents in dag: char = formatnode(repo, ctx) copies = None