Commits

Steve Borho  committed 922379a

hggtk/history: fix side-effect of f4e55aa73c38

  • Participants
  • Parent commits 9a17046

Comments (0)

Files changed (1)

File hggtk/history.py

         title = os.path.basename(self.repo.root) + ' log ' 
         if 'rev' in self.opts and self.opts['rev']:
             title += '--rev ' + ':'.join(self.opts['rev'])
-        if not self.pats:
+        if not self.pats or self.pats == ['']:
             return title
         if len(self.pats) > 1 or not os.path.isdir(self.pats[0]):
             title += '{search} ' + ' '.join(self.pats)