Mercurial > hg4j
diff src/org/tmatesoft/hg/repo/HgRepositoryLock.java @ 488:45b3b6ca046f
Repository locking mechanism is alive
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 13 Aug 2012 19:07:59 +0200 |
parents | db48a77ec8ff |
children | 9c0138cda59a |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgRepositoryLock.java Mon Aug 13 18:11:47 2012 +0200 +++ b/src/org/tmatesoft/hg/repo/HgRepositoryLock.java Mon Aug 13 19:07:59 2012 +0200 @@ -37,8 +37,8 @@ */ public class HgRepositoryLock { /* - * Lock .hg/ except .hg/store/ .hg/wlock (HgRepository.repoPathHelper("wlock")) - * Lock .hg/store/ .hg/store/lock (HgRepository.repoPathHelper("store/lock") ???) + * Lock .hg/ except .hg/store/ .hg/wlock (new File(hgRepo.getRepoRoot(),"wlock")) + * Lock .hg/store/ .hg/store/lock (HgRepository.repoPathHelper("lock")) */ private final File lockFile;