Skip to content

Commit 7102677

Browse files
committed
all repositories must use getDirectoryName()
1 parent cb7d37a commit 7102677

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/org/opensolaris/opengrok/history/AccuRevRepository.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ boolean isRepositoryFor(File sourceHome) {
377377
if (sourceHome.isDirectory()) {
378378
return isInAccuRevDepot(sourceHome);
379379
}
380-
380+
381381
return false;
382382
}
383383

@@ -404,7 +404,7 @@ History getHistory(File file) throws HistoryException {
404404

405405
@Override
406406
String determineParent() throws IOException {
407-
getAccuRevInfo(new File(directoryName));
407+
getAccuRevInfo(new File(getDirectoryName()));
408408
return parent;
409409
}
410410

0 commit comments

Comments
 (0)