Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgInternals.java @ 412:63c5a9d7ca3f smartgit3
Follow-up for Issue 29: unify path translation for manifest and dirstate
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Wed, 21 Mar 2012 14:54:02 +0100 |
| parents | 0f5696623512 |
| children | bb278ccf9866 |
comparison
equal
deleted
inserted
replaced
| 411:464b4404e75d | 412:63c5a9d7ca3f |
|---|---|
| 71 return path.toString().toLowerCase(); | 71 return path.toString().toLowerCase(); |
| 72 } | 72 } |
| 73 }; | 73 }; |
| 74 } | 74 } |
| 75 HgDirstate ds = new HgDirstate(repo, new File(repo.getRepositoryRoot(), "dirstate"), new PathPool(new PathRewrite.Empty()), canonicalPath); | 75 HgDirstate ds = new HgDirstate(repo, new File(repo.getRepositoryRoot(), "dirstate"), new PathPool(new PathRewrite.Empty()), canonicalPath); |
| 76 ds.read(); | 76 ds.read(repo.getImplHelper().buildFileNameEncodingHelper()); |
| 77 return ds; | 77 return ds; |
| 78 } | 78 } |
| 79 | 79 |
| 80 public Path[] checkKnown(HgDirstate dirstate, Path[] toCheck) { | 80 public Path[] checkKnown(HgDirstate dirstate, Path[] toCheck) { |
| 81 Path[] rv = new Path[toCheck.length]; | 81 Path[] rv = new Path[toCheck.length]; |
