Mercurial > jhg
diff src/org/tmatesoft/hg/repo/HgRepository.java @ 409:0f5696623512 smartgit3
Support glob path pattern rewrite to facilitate use of globs with Windows path separator
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 16 Mar 2012 20:14:47 +0100 |
parents | 30922c728341 |
children | 63c5a9d7ca3f |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgRepository.java Fri Mar 16 15:06:44 2012 +0100 +++ b/src/org/tmatesoft/hg/repo/HgRepository.java Fri Mar 16 20:14:47 2012 +0100 @@ -319,7 +319,7 @@ public HgIgnore getIgnore() /*throws HgInvalidControlFileException */{ // TODO read config for additional locations if (ignore == null) { - ignore = new HgIgnore(); + ignore = new HgIgnore(getToRepoPathHelper()); File ignoreFile = new File(getWorkingDir(), ".hgignore"); try { final List<String> errors = ignore.read(ignoreFile);