# HG changeset patch # User Augie Fackler # Date 1418070028 18000 # Node ID 3ecbcffdeb0c08b6969f80be7f4a68930a761e04 # Parent 740ae54573a30a442194bb18208681030ceb40db graphmod: rename graph-topological config to graph-group-branches The latter suggests what the change is slightly better. diff -r 740ae54573a3 -r 3ecbcffdeb0c mercurial/graphmod.py --- 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 diff -r 740ae54573a3 -r 3ecbcffdeb0c tests/test-glog-topological.t --- a/tests/test-glog-topological.t Thu Sep 04 19:28:17 2014 +0200 +++ b/tests/test-glog-topological.t Mon Dec 08 15:20:28 2014 -0500 @@ -40,7 +40,7 @@ (display all nodes) - $ hg --config experimental.graph-topological=1 log -G + $ hg --config experimental.graph-group-branches=1 log -G o 8 | o 3 @@ -62,7 +62,7 @@ (revset skipping nodes) - $ hg --config experimental.graph-topological=1 log -G --rev 'not (2+6)' + $ hg --config experimental.graph-group-branches=1 log -G --rev 'not (2+6)' o 8 | o 3 @@ -80,7 +80,7 @@ (begin) from the other branch - $ hg --config experimental.graph-topological=1 --config experimental.graph-topological.firstbranch=5 log -G + $ hg --config experimental.graph-group-branches=1 --config experimental.graph-group-branches.firstbranch=5 log -G o 7 | o 6