comparison 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
comparison
equal deleted inserted replaced
23568:740ae54573a3 23569:3ecbcffdeb0c
225 225
226 cl = repo.changelog 226 cl = repo.changelog
227 lowestrev = revs.min() 227 lowestrev = revs.min()
228 gpcache = {} 228 gpcache = {}
229 229
230 if repo.ui.configbool('experimental', 'graph-topological', False): 230 if repo.ui.configbool('experimental', 'graph-group-branches', False):
231 firstbranch = () 231 firstbranch = ()
232 firstbranchrevset = repo.ui.config('experimental', 232 firstbranchrevset = repo.ui.config(
233 'graph-topological.firstbranch', '') 233 'experimental', 'graph-group-branches.firstbranch', '')
234 if firstbranchrevset: 234 if firstbranchrevset:
235 firstbranch = repo.revs(firstbranchrevset) 235 firstbranch = repo.revs(firstbranchrevset)
236 parentrevs = repo.changelog.parentrevs 236 parentrevs = repo.changelog.parentrevs
237 revs = list(groupbranchiter(revs, parentrevs, firstbranch)) 237 revs = list(groupbranchiter(revs, parentrevs, firstbranch))
238 238