Mercurial > jhg
comparison src/org/tmatesoft/hg/internal/PhasesHelper.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 | cd77bf51b562 |
children | 46b56864b483 |
comparison
equal
deleted
inserted
replaced
653:629a7370554c | 654:12a4f60ea972 |
---|---|
169 } | 169 } |
170 fw.flush(); | 170 fw.flush(); |
171 } catch (IOException ex) { | 171 } catch (IOException ex) { |
172 throw new HgInvalidControlFileException(ex.getMessage(), ex, phaseroots); | 172 throw new HgInvalidControlFileException(ex.getMessage(), ex, phaseroots); |
173 } finally { | 173 } finally { |
174 new FileUtils(repo.getLog()).closeQuietly(fw); | 174 new FileUtils(repo.getLog(), this).closeQuietly(fw); |
175 } | 175 } |
176 } | 176 } |
177 | 177 |
178 public void newCommitNode(Nodeid newChangeset, HgPhase newCommitPhase) throws HgRuntimeException { | 178 public void newCommitNode(Nodeid newChangeset, HgPhase newCommitPhase) throws HgRuntimeException { |
179 final int riCset = repo.getRepo().getChangelog().getRevisionIndex(newChangeset); | 179 final int riCset = repo.getRepo().getChangelog().getRevisionIndex(newChangeset); |