throw new HgRepositoryNotFoundException(String.format("%s: repository version is not supported (Mercurial <0.9?)", repoPath)).setLocation(location.getPath());
}
return rv;
} catch (HgRuntimeException ex) {
HgRepositoryNotFoundException e = new HgRepositoryNotFoundException("Failed to initialize Hg4J library").setLocation(location.getPath());
e.initCause(ex);
throw e;
}
}
public HgBundle loadBundle(File location) throws HgRepositoryNotFoundException {