Mercurial > jhg
diff src/org/tmatesoft/hg/repo/HgRepository.java @ 571:e4ee4bf4c7d0
Let session context control creation of Path instances
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 11 Apr 2013 16:27:06 +0200 |
parents | 9edfd5a223b8 |
children | 36e36b926747 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgRepository.java Thu Apr 11 16:07:17 2013 +0200 +++ b/src/org/tmatesoft/hg/repo/HgRepository.java Thu Apr 11 16:27:06 2013 +0200 @@ -266,7 +266,7 @@ public HgDataFile getFileNode(String path) { CharSequence nPath = normalizePath.rewrite(path); - Path p = Path.create(nPath); + Path p = sessionContext.getPathFactory().path(nPath); return getFileNode(p); }