upgrade: drop the prefix to the 'determineactions' function
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Mon, 10 Apr 2017 18:05:57 +0200
changeset 31872 3c001db97c71
parent 31871 5881f76323c2
child 31873 d6c2005484b6
upgrade: drop the prefix to the 'determineactions' function Now that we are in the 'upgrade' module we can simplify the name.
mercurial/upgrade.py
--- a/mercurial/upgrade.py	Mon Apr 10 18:05:42 2017 +0200
+++ b/mercurial/upgrade.py	Mon Apr 10 18:05:57 2017 +0200
@@ -265,7 +265,7 @@
 
     return improvements
 
-def upgradedetermineactions(repo, improvements, sourcereqs, destreqs,
+def determineactions(repo, improvements, sourcereqs, destreqs,
                             optimize):
     """Determine upgrade actions that will be performed.
 
@@ -641,7 +641,7 @@
                           hint=_('run without arguments to see valid '
                                  'optimizations'))
 
-    actions = upgradedetermineactions(repo, improvements, repo.requirements,
+    actions = determineactions(repo, improvements, repo.requirements,
                                       newreqs, optimize)
 
     def printrequirements():