author | Steve Borho <steve@borho.org> |
Thu, 31 Jan 2008 15:35:10 -0600 | |
changeset 968 | 922379a7a4e0 |
parent 967 | 9a1704668ab8 |
child 969 | ea005c994375 |
hggtk/history.py | file | annotate | diff | comparison | revisions |
--- a/hggtk/history.py Thu Jan 31 15:33:04 2008 -0600 +++ b/hggtk/history.py Thu Jan 31 15:35:10 2008 -0600 @@ -33,7 +33,7 @@ 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)