Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/localrepo.py @ 2042:a514c7509fa9
small changes to revert command.
fix bug 93: work with files that are in target manifest but not
dirstate.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Mon, 03 Apr 2006 10:02:09 -0700 |
parents | 5c4496ed152d |
children | 2ff37e3bf780 74d3f5336b66 |
comparison
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 |