upgrade: drop the prefix to the 'findimprovements' function
Now that we are in the 'upgrade' module we can simplify the name.
--- a/mercurial/upgrade.py Mon Apr 10 18:04:50 2017 +0200
+++ b/mercurial/upgrade.py Mon Apr 10 18:05:42 2017 +0200
@@ -138,7 +138,7 @@
for k, v in kwargs.items():
setattr(self, k, v)
-def upgradefindimprovements(repo):
+def findimprovements(repo):
"""Determine improvements that can be made to the repo during upgrade.
Returns a list of ``upgradeimprovement`` describing repository deficiencies
@@ -626,7 +626,7 @@
_(', ').join(sorted(unsupportedreqs)))
# Find and validate all improvements that can be made.
- improvements = upgradefindimprovements(repo)
+ improvements = findimprovements(repo)
for i in improvements:
if i.type not in (deficiency, optimisation):
raise error.Abort(_('unexpected improvement type %s for %s') % (