mercurial/localrepo.py
changeset 2042 a514c7509fa9
parent 2038 5c4496ed152d
child 2065 2ff37e3bf780
child 2072 74d3f5336b66
equal deleted inserted replaced
2041:077a2da7f1de 2042:a514c7509fa9
   496                         yield 'b', fn
   496                         yield 'b', fn
   497                 else:
   497                 else:
   498                     self.ui.warn(_('%s: No such file in rev %s\n') % (
   498                     self.ui.warn(_('%s: No such file in rev %s\n') % (
   499                         util.pathto(self.getcwd(), fn), short(node)))
   499                         util.pathto(self.getcwd(), fn), short(node)))
   500         else:
   500         else:
   501             for src, fn in self.dirstate.walk(files, match):
   501             for src, fn in self.dirstate.walk(files, match, badmatch=badmatch):
   502                 yield src, fn
   502                 yield src, fn
   503 
   503 
   504     def changes(self, node1=None, node2=None, files=[], match=util.always,
   504     def changes(self, node1=None, node2=None, files=[], match=util.always,
   505                 wlock=None, show_ignored=None):
   505                 wlock=None, show_ignored=None):
   506         """return changes between two nodes or node and working directory
   506         """return changes between two nodes or node and working directory