Commits

Steve Borho  committed 6d0c1f7

history: fix file pattern validator

  • Participants
  • Parent commits 614548d
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgtk/history.py

                 return False
         elif mode == MODE_FILEPATS:
             try:
-                match.match(self.repo.root, self.repo.root, text)
+                match.match(self.repo.root, self.repo.root, [text])
             except (ValueError, util.Abort), e:
                 gdialog.Prompt(_('Invalid file pattern'),
                                str(e), self).run()