##// END OF EJS Templates
copies: rename some function to the new naming scheme...
marmoute -
r46199:fb000408 default
parent child Browse files
Show More
@@ -172,7 +172,7 b' def _committedforwardcopies(a, b, base, '
172 return cm
172 return cm
173
173
174
174
175 def _revinfogetter(repo):
175 def _revinfo_getter(repo):
176 """return a function that return multiple data given a <rev>"i
176 """return a function that return multiple data given a <rev>"i
177
177
178 * p1: revision number of first parent
178 * p1: revision number of first parent
@@ -278,7 +278,7 b' def _changesetforwardcopies(a, b, match)'
278
278
279 repo = a.repo().unfiltered()
279 repo = a.repo().unfiltered()
280 children = {}
280 children = {}
281 revinfo = _revinfogetter(repo)
281 revinfo = _revinfo_getter(repo)
282
282
283 cl = repo.changelog
283 cl = repo.changelog
284 isancestor = cl.isancestorrev # XXX we should had chaching to this.
284 isancestor = cl.isancestorrev # XXX we should had chaching to this.
@@ -309,12 +309,12 b' def _changesetforwardcopies(a, b, match)'
309 iterrevs.update(roots)
309 iterrevs.update(roots)
310 iterrevs.remove(b.rev())
310 iterrevs.remove(b.rev())
311 revs = sorted(iterrevs)
311 revs = sorted(iterrevs)
312 return _combinechangesetcopies(
312 return _combine_changeset_copies(
313 revs, children, b.rev(), revinfo, match, isancestor
313 revs, children, b.rev(), revinfo, match, isancestor
314 )
314 )
315
315
316
316
317 def _combinechangesetcopies(
317 def _combine_changeset_copies(
318 revs, children, targetrev, revinfo, match, isancestor
318 revs, children, targetrev, revinfo, match, isancestor
319 ):
319 ):
320 """combine the copies information for each item of iterrevs
320 """combine the copies information for each item of iterrevs
General Comments 0
You need to be logged in to leave comments. Login now