mercurial/copies.py
changeset 45624 fb000408bca5
parent 44994 cfd06649a1b8
child 45637 ad6ebb6f0dfe
--- a/mercurial/copies.py	Mon Sep 28 12:26:09 2020 +0200
+++ b/mercurial/copies.py	Fri Sep 25 14:33:05 2020 +0200
@@ -172,7 +172,7 @@
     return cm
 
 
-def _revinfogetter(repo):
+def _revinfo_getter(repo):
     """return a function that return multiple data given a <rev>"i
 
     * p1: revision number of first parent
@@ -278,7 +278,7 @@
 
     repo = a.repo().unfiltered()
     children = {}
-    revinfo = _revinfogetter(repo)
+    revinfo = _revinfo_getter(repo)
 
     cl = repo.changelog
     isancestor = cl.isancestorrev  # XXX we should had chaching to this.
@@ -309,12 +309,12 @@
     iterrevs.update(roots)
     iterrevs.remove(b.rev())
     revs = sorted(iterrevs)
-    return _combinechangesetcopies(
+    return _combine_changeset_copies(
         revs, children, b.rev(), revinfo, match, isancestor
     )
 
 
-def _combinechangesetcopies(
+def _combine_changeset_copies(
     revs, children, targetrev, revinfo, match, isancestor
 ):
     """combine the copies information for each item of iterrevs