Mercurial > hg4j
diff src/org/tmatesoft/hg/internal/KeywordFilter.java @ 118:68ba22a2133a
Defects in the filter initialization
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 04 Feb 2011 02:44:32 +0100 |
parents | 46291ec605a0 |
children | ed2b4adac51c |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/KeywordFilter.java Fri Feb 04 02:12:30 2011 +0100 +++ b/src/org/tmatesoft/hg/internal/KeywordFilter.java Fri Feb 04 02:44:32 2011 +0100 @@ -289,7 +289,7 @@ public Filter create(Path path, Options opts) { if (matcher.accept(path)) { - return new KeywordFilter(repo, path, true); + return new KeywordFilter(repo, path, opts.getDirection() == Filter.Direction.FromRepo); } return null; }