largefiles: port revset registration to exthelper
This tests the merge code that wasn't tested in the previous patch.
--- a/hgext/largefiles/__init__.py Thu Dec 27 21:26:17 2018 -0500
+++ b/hgext/largefiles/__init__.py Thu Dec 27 21:27:43 2018 -0500
@@ -192,4 +192,4 @@
extensions.wrapfunction(module, 'rebase',
overrides.overriderebase)
-revsetpredicate = overrides.revsetpredicate
+revsetpredicate = eh.revsetpredicate
--- a/hgext/largefiles/overrides.py Thu Dec 27 21:26:17 2018 -0500
+++ b/hgext/largefiles/overrides.py Thu Dec 27 21:27:43 2018 -0500
@@ -32,7 +32,6 @@
merge,
pathutil,
pycompat,
- registrar,
scmutil,
smartset,
subrepo,
@@ -888,9 +887,7 @@
pushop.lfrevs = lfrevs
return pushop
-revsetpredicate = registrar.revsetpredicate()
-
-@revsetpredicate('pulled()')
+@eh.revsetpredicate('pulled()')
def pulledrevsetsymbol(repo, subset, x):
"""Changesets that just has been pulled.