Mercurial > jhg
comparison 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 |
comparison
equal
deleted
inserted
replaced
365:3572fcb06473 | 366:189dc6dc1c3e |
---|---|
206 } | 206 } |
207 } | 207 } |
208 return tags; | 208 return tags; |
209 } | 209 } |
210 | 210 |
211 public HgBranches getBranches() { | 211 public HgBranches getBranches() throws HgInvalidControlFileException { |
212 if (branches == null) { | 212 if (branches == null) { |
213 branches = new HgBranches(this); | 213 branches = new HgBranches(this); |
214 branches.collect(ProgressSupport.Factory.get(null)); | 214 branches.collect(ProgressSupport.Factory.get(null)); |
215 } | 215 } |
216 return branches; | 216 return branches; |