Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgRepository.java @ 337:f377f833b780
Issue 17: temporary code to nail down the problem
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 15 Nov 2011 03:07:28 +0100 |
parents | 3d41dc148d14 |
children | a0864b2892cd |
comparison
equal
deleted
inserted
replaced
336:f74e36b7344b | 337:f377f833b780 |
---|---|
301 | 301 |
302 // shall be of use only for internal classes | 302 // shall be of use only for internal classes |
303 /*package-local*/ File getRepositoryRoot() { | 303 /*package-local*/ File getRepositoryRoot() { |
304 return repoDir; | 304 return repoDir; |
305 } | 305 } |
306 | |
307 // FIXME remove once NPE in HgWorkingCopyStatusCollector.areTheSame is solved | |
308 /*package-local, debug*/String getStoragePath(HgDataFile df) { | |
309 return dataPathHelper.rewrite(df.getPath().toString()).toString(); | |
310 } | |
306 | 311 |
307 // XXX package-local, unless there are cases when required from outside (guess, working dir/revision walkers may hide dirstate access and no public visibility needed) | 312 // XXX package-local, unless there are cases when required from outside (guess, working dir/revision walkers may hide dirstate access and no public visibility needed) |
308 // XXX consider passing Path pool or factory to produce (shared) Path instead of Strings | 313 // XXX consider passing Path pool or factory to produce (shared) Path instead of Strings |
309 /*package-local*/ final HgDirstate loadDirstate(PathPool pathPool) { | 314 /*package-local*/ final HgDirstate loadDirstate(PathPool pathPool) { |
310 PathRewrite canonicalPath = null; | 315 PathRewrite canonicalPath = null; |