comparison src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java @ 366:189dc6dc1c3e

Use exceptions to expose errors reading mercurial data
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 16 Dec 2011 04:43:18 +0100
parents 4937e35b805b
children 2fadf8695f8a
comparison
equal deleted inserted replaced
365:3572fcb06473 366:189dc6dc1c3e
120 120
121 private HgDirstate getDirstateImpl() { 121 private HgDirstate getDirstateImpl() {
122 return dirstate; 122 return dirstate;
123 } 123 }
124 124
125 private ManifestRevision getManifest(int changelogLocalRev) { 125 private ManifestRevision getManifest(int changelogLocalRev) throws HgInvalidControlFileException {
126 assert changelogLocalRev >= 0; 126 assert changelogLocalRev >= 0;
127 ManifestRevision mr; 127 ManifestRevision mr;
128 if (baseRevisionCollector != null) { 128 if (baseRevisionCollector != null) {
129 mr = baseRevisionCollector.raw(changelogLocalRev); 129 mr = baseRevisionCollector.raw(changelogLocalRev);
130 } else { 130 } else {