# HG changeset patch # User Pierre-Yves David # Date 1491840357 -7200 # Node ID 3c001db97c7180a753a13a6293f4103e17815553 # Parent 5881f76323c2b35fbc5bd0fc5af97ff39141f02e upgrade: drop the prefix to the 'determineactions' function Now that we are in the 'upgrade' module we can simplify the name. diff -r 5881f76323c2 -r 3c001db97c71 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():