diff hgext/rebase.py @ 31043: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 01512564ddd5
children 56d3e0b499df
line wrap: on
line diff
--- a/hgext/rebase.py	Sat Feb 18 18:00:01 2017 +0900
+++ b/hgext/rebase.py	Sun Feb 19 18:16:09 2017 +0900
@@ -47,6 +47,7 @@
     repoview,
     revset,
     scmutil,
+    smartset,
     util,
 )
 
@@ -118,8 +119,8 @@
     # i18n: "_rebasedefaultdest" is a keyword
     sourceset = None
     if x is not None:
-        sourceset = revset.getset(repo, revset.fullreposet(repo), x)
-    return subset & revset.baseset([_destrebase(repo, sourceset)])
+        sourceset = revset.getset(repo, smartset.fullreposet(repo), x)
+    return subset & smartset.baseset([_destrebase(repo, sourceset)])
 
 class rebaseruntime(object):
     """This class is a container for rebase runtime state"""