Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgBundle.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 | 14dac192aa26 |
| children | 46b56864b483 |
comparison
equal
deleted
inserted
replaced
| 653:629a7370554c | 654:12a4f60ea972 |
|---|---|
| 552 } | 552 } |
| 553 | 553 |
| 554 } catch (IOException ex) { | 554 } catch (IOException ex) { |
| 555 throw new HgIOException("Failed to serialize bundle", HgBundle.this.bundleFile); | 555 throw new HgIOException("Failed to serialize bundle", HgBundle.this.bundleFile); |
| 556 } finally { | 556 } finally { |
| 557 new FileUtils(HgBundle.this.ctx.getLog()).closeQuietly(fis, HgBundle.this.bundleFile); | 557 new FileUtils(HgBundle.this.ctx.getLog(), this).closeQuietly(fis, HgBundle.this.bundleFile); |
| 558 } | 558 } |
| 559 } | 559 } |
| 560 | 560 |
| 561 public int serializeLength() throws HgRuntimeException { | 561 public int serializeLength() throws HgRuntimeException { |
| 562 return Internals.ltoi(HgBundle.this.bundleFile.length()); | 562 return Internals.ltoi(HgBundle.this.bundleFile.length()); |
