Mercurial > hg4j
diff src/org/tmatesoft/hg/repo/HgRepository.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 | a0864b2892cd |
children | 2fadf8695f8a |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgRepository.java Sun Dec 11 00:39:07 2011 +0100 +++ b/src/org/tmatesoft/hg/repo/HgRepository.java Fri Dec 16 04:43:18 2011 +0100 @@ -208,7 +208,7 @@ return tags; } - public HgBranches getBranches() { + public HgBranches getBranches() throws HgInvalidControlFileException { if (branches == null) { branches = new HgBranches(this); branches.collect(ProgressSupport.Factory.get(null));