Mercurial > hg4j
comparison src/org/tmatesoft/hg/repo/HgRepository.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 | c75297c17867 |
children |
comparison
equal
deleted
inserted
replaced
653:629a7370554c | 654:12a4f60ea972 |
---|---|
371 fr.read(cb); | 371 fr.read(cb); |
372 return cb.flip().toString(); | 372 return cb.flip().toString(); |
373 } catch (IOException ex) { | 373 } catch (IOException ex) { |
374 throw new HgInvalidControlFileException("Can't retrieve message of last commit attempt", ex, lastMessage); | 374 throw new HgInvalidControlFileException("Can't retrieve message of last commit attempt", ex, lastMessage); |
375 } finally { | 375 } finally { |
376 new FileUtils(getSessionContext().getLog()).closeQuietly(fr, lastMessage); | 376 new FileUtils(getSessionContext().getLog(), this).closeQuietly(fr, lastMessage); |
377 } | 377 } |
378 } | 378 } |
379 | 379 |
380 /** | 380 /** |
381 * Access repository lock that covers non-store parts of the repository (dirstate, branches, etc - | 381 * Access repository lock that covers non-store parts of the repository (dirstate, branches, etc - |