* @return list of all known sub-repositories in this repository, or empty list if none found.
* @throws HgRuntimeException subclass thereof to indicate issues with the library. <em>Runtime exception</em>
*/
public List<HgSubrepoLocation> getSubrepositories() throws HgInvalidControlFileException {
if (subRepos == null) {
subRepos = new SubrepoManager(this);
subRepos.read();
}
return subRepos.all();
}