diff hgext/largefiles/overrides.py @ 41067:f2601cbce209

largefiles: port revset registration to exthelper This tests the merge code that wasn't tested in the previous patch.
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 27 Dec 2018 21:27:43 -0500
parents 0a7f582f6f1f
children 876494fd967d
line wrap: on
line diff
--- 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.