Yuya Nishihara  committed f903f74

matching: replace use of low-level revset function by repo.revs()

  • Participants
  • Parent commits 5c645d1

Comments (0)

Files changed (1)

File tortoisehg/hgqt/

 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2, incorporated herein by reference.
-from mercurial import error, revset
+from mercurial import error
 from tortoisehg.util import hglib
 from tortoisehg.hgqt.i18n import _
         # If we get this far, assume we are matching a revision set
         validrevset = False
-            func = revset.match(self.repo.ui, new_rev)
-            rset = [c for c in func(self.repo, list(self.repo))]
+            rset = self.repo.revs(new_rev)
             if len(rset) > 1:
                 self.rev_to_match_info_lbl.setText(_('Revisions to Match:'))
                 csinfo_set_text(_('Match any of <b><i>%d</i></b> revisions') \