Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Mon Apr 03 14:56:00 2006 +0200 +++ b/mercurial/localrepo.py Mon Apr 03 10:02:09 2006 -0700 @@ -498,7 +498,7 @@ self.ui.warn(_('%s: No such file in rev %s\n') % ( util.pathto(self.getcwd(), fn), short(node))) else: - for src, fn in self.dirstate.walk(files, match): + for src, fn in self.dirstate.walk(files, match, badmatch=badmatch): yield src, fn def changes(self, node1=None, node2=None, files=[], match=util.always,