Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgBranches.java @ 654:12a4f60ea972
1) Console push tool. 2) Pass class to blame into FileUtils
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 03 Jul 2013 15:11:40 +0200 |
parents | 6526d8adbc0f |
children | a937e63b6e02 |
comparison
equal
deleted
inserted
replaced
653:629a7370554c | 654:12a4f60ea972 |
---|---|
115 } catch (HgRuntimeException ex) { | 115 } catch (HgRuntimeException ex) { |
116 // if happens, log error and pretend there's no cache | 116 // if happens, log error and pretend there's no cache |
117 repo.getSessionContext().getLog().dump(getClass(), Error, ex, null); | 117 repo.getSessionContext().getLog().dump(getClass(), Error, ex, null); |
118 // FALL THROUGH | 118 // FALL THROUGH |
119 } finally { | 119 } finally { |
120 new FileUtils(repo.getSessionContext().getLog()).closeQuietly(br); | 120 new FileUtils(repo.getSessionContext().getLog(), this).closeQuietly(br); |
121 } | 121 } |
122 return -1; // deliberately not lastInCache, to avoid anything but -1 when 1st line was read and there's error is in lines 2..end | 122 return -1; // deliberately not lastInCache, to avoid anything but -1 when 1st line was read and there's error is in lines 2..end |
123 } | 123 } |
124 | 124 |
125 void collect(final ProgressSupport ps) throws HgRuntimeException { | 125 void collect(final ProgressSupport ps) throws HgRuntimeException { |