Commits

Steve Borho committed 56e53b9

status: scmutil.match() arguments have changed (fixes #811)

  • Participants
  • Parent commits ba23570
  • Branches stable

Comments (0)

Files changed (2)

File tortoisehg/hgqt/status.py

                 else:
                     # status and commit only pre-check MAR files
                     precheckfn = lambda x: x < 4
-                m = hglib.match(self.repo, self.pats)
+                m = hglib.match(self.repo[None], self.pats)
                 status = self.repo.status(match=m, **stopts)
                 # Record all matched files as initially checked
                 for i, stat in enumerate(StatusType.preferredOrder):

File tortoisehg/util/cachethg.py

     tc1 = GetTickCount()
 
     try:
-        matcher = hglib.match(repo, [pdir])
+        matcher = hglib.match(repo[None], [pdir])
         repostate = repo.status(match=matcher, ignored=True,
                         clean=True, unknown=True)
     except util.Abort, inst: