mercurial/localrepo.py
changeset 4229 24c22a3f2ef8
parent 4217 3be4785f8994
child 4232 0d51eb296fb9
child 4272 fe7f38dda34b
equal deleted inserted replaced
4228:c52b7176af94 4229:24c22a3f2ef8
   851                 if badmatch and badmatch(fn):
   851                 if badmatch and badmatch(fn):
   852                     if match(fn):
   852                     if match(fn):
   853                         yield 'b', fn
   853                         yield 'b', fn
   854                 else:
   854                 else:
   855                     self.ui.warn(_('%s: No such file in rev %s\n') % (
   855                     self.ui.warn(_('%s: No such file in rev %s\n') % (
   856                         util.pathto(self.getcwd(), fn), short(node)))
   856                         util.pathto(self.root, self.getcwd(), fn), short(node)))
   857         else:
   857         else:
   858             for src, fn in self.dirstate.walk(files, match, badmatch=badmatch):
   858             for src, fn in self.dirstate.walk(files, match, badmatch=badmatch):
   859                 yield src, fn
   859                 yield src, fn
   860 
   860 
   861     def status(self, node1=None, node2=None, files=[], match=util.always,
   861     def status(self, node1=None, node2=None, files=[], match=util.always,