upgrade: drop the prefix to the '_filterstorefile' function
Now that we are in the 'upgrade' module we can simplify the name.
--- a/mercurial/upgrade.py Mon Apr 10 18:05:57 2017 +0200
+++ b/mercurial/upgrade.py Mon Apr 10 18:06:12 2017 +0200
@@ -456,7 +456,7 @@
ui.write(_('finished migrating %d total revisions; total change in store '
'size: %s\n') % (revcount, util.bytecount(dstsize - srcsize)))
-def _upgradefilterstorefile(srcrepo, dstrepo, requirements, path, mode, st):
+def _filterstorefile(srcrepo, dstrepo, requirements, path, mode, st):
"""Determine whether to copy a store file during upgrade.
This function is called when migrating store files from ``srcrepo`` to
@@ -525,7 +525,7 @@
# Now copy other files in the store directory.
for p, kind, st in srcrepo.store.vfs.readdir('', stat=True):
- if not _upgradefilterstorefile(srcrepo, dstrepo, requirements,
+ if not _filterstorefile(srcrepo, dstrepo, requirements,
p, kind, st):
continue