diff mercurial/graphmod.py @ 23569:3ecbcffdeb0c

graphmod: rename graph-topological config to graph-group-branches The latter suggests what the change is slightly better.
author Augie Fackler <raf@durin42.com>
date Mon, 08 Dec 2014 15:20:28 -0500
parents 740ae54573a3
children 3f86fe9bcef0
line wrap: on
line diff
--- a/mercurial/graphmod.py	Thu Sep 04 19:28:17 2014 +0200
+++ b/mercurial/graphmod.py	Mon Dec 08 15:20:28 2014 -0500
@@ -227,10 +227,10 @@
     lowestrev = revs.min()
     gpcache = {}
 
-    if repo.ui.configbool('experimental', 'graph-topological', False):
+    if repo.ui.configbool('experimental', 'graph-group-branches', False):
         firstbranch = ()
-        firstbranchrevset = repo.ui.config('experimental',
-                                           'graph-topological.firstbranch', '')
+        firstbranchrevset = repo.ui.config(
+            'experimental', 'graph-group-branches.firstbranch', '')
         if firstbranchrevset:
             firstbranch = repo.revs(firstbranchrevset)
         parentrevs = repo.changelog.parentrevs