mercurial/localrepo.py
changeset 4232 0d51eb296fb9
parent 4218 5ccbc0be6cdb
parent 4229 24c22a3f2ef8
child 4263 4a1504264261
child 4267 b11a2fb59cf5
equal deleted inserted replaced
4224:2a8b6d78d7ee 4232:0d51eb296fb9
   900                 if badmatch and badmatch(fn):
   900                 if badmatch and badmatch(fn):
   901                     if match(fn):
   901                     if match(fn):
   902                         yield 'b', fn
   902                         yield 'b', fn
   903                 else:
   903                 else:
   904                     self.ui.warn(_('%s: No such file in rev %s\n') % (
   904                     self.ui.warn(_('%s: No such file in rev %s\n') % (
   905                         util.pathto(self.getcwd(), fn), short(node)))
   905                         util.pathto(self.root, self.getcwd(), fn), short(node)))
   906         else:
   906         else:
   907             for src, fn in self.dirstate.walk(files, match, badmatch=badmatch):
   907             for src, fn in self.dirstate.walk(files, match, badmatch=badmatch):
   908                 yield src, fn
   908                 yield src, fn
   909 
   909 
   910     def status(self, node1=None, node2=None, files=[], match=util.always,
   910     def status(self, node1=None, node2=None, files=[], match=util.always,