diff 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
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgBundle.java	Wed Jul 03 14:38:30 2013 +0200
+++ b/src/org/tmatesoft/hg/repo/HgBundle.java	Wed Jul 03 15:11:40 2013 +0200
@@ -554,7 +554,7 @@
 			} catch (IOException ex) {
 				throw new HgIOException("Failed to serialize bundle", HgBundle.this.bundleFile);
 			} finally {
-				new FileUtils(HgBundle.this.ctx.getLog()).closeQuietly(fis, HgBundle.this.bundleFile);
+				new FileUtils(HgBundle.this.ctx.getLog(), this).closeQuietly(fis, HgBundle.this.bundleFile);
 			}
 		}