Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgRepository.java @ 280:35125450c804
Erroneous and slow status for working copies based on non-tip revision
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 02 Sep 2011 13:40:09 +0200 |
parents | a6d19adc2636 |
children | 7232b94f2ae3 |
comparison
equal
deleted
inserted
replaced
279:23e3ea855097 | 280:35125450c804 |
---|---|
269 /*package-local*/ File getRepositoryRoot() { | 269 /*package-local*/ File getRepositoryRoot() { |
270 return repoDir; | 270 return repoDir; |
271 } | 271 } |
272 | 272 |
273 // 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) | 273 // 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) |
274 // XXX consider passing Path pool or factory to produce (shared) Path instead of Strings | |
274 /*package-local*/ final HgDirstate loadDirstate() { | 275 /*package-local*/ final HgDirstate loadDirstate() { |
275 return new HgDirstate(this, new File(repoDir, "dirstate")); | 276 return new HgDirstate(this, new File(repoDir, "dirstate")); |
276 } | 277 } |
277 | 278 |
278 // package-local, see comment for loadDirstate | 279 // package-local, see comment for loadDirstate |