diff hgext/transplant.py @ 31023:aea06029919e

revset: import set classes directly from smartset module Follows up 1be65deb3d54.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 19 Feb 2017 18:16:09 +0900
parents 82f1ef8b4477
children 2db38ef73ce8
line wrap: on
line diff
--- a/hgext/transplant.py	Sat Feb 18 18:00:01 2017 +0900
+++ b/hgext/transplant.py	Sun Feb 19 18:16:09 2017 +0900
@@ -33,6 +33,7 @@
     revlog,
     revset,
     scmutil,
+    smartset,
     util,
 )
 
@@ -723,7 +724,7 @@
         s = revset.getset(repo, subset, x)
     else:
         s = subset
-    return revset.baseset([r for r in s if
+    return smartset.baseset([r for r in s if
         repo[r].extra().get('transplant_source')])
 
 templatekeyword = registrar.templatekeyword()