Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgDataFile.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 | d07497128747 |
| children | 5050ee565bd1 |
comparison
equal
deleted
inserted
replaced
| 653:629a7370554c | 654:12a4f60ea972 |
|---|---|
| 170 } catch (IOException ex) { | 170 } catch (IOException ex) { |
| 171 throw new HgInvalidFileException("Working copy read failed", ex, f); | 171 throw new HgInvalidFileException("Working copy read failed", ex, f); |
| 172 } finally { | 172 } finally { |
| 173 progress.done(); | 173 progress.done(); |
| 174 if (fis != null) { | 174 if (fis != null) { |
| 175 new FileUtils(getRepo().getSessionContext().getLog()).closeQuietly(fis); | 175 new FileUtils(getRepo().getSessionContext().getLog(), this).closeQuietly(fis); |
| 176 } | 176 } |
| 177 } | 177 } |
| 178 } else { | 178 } else { |
| 179 Nodeid fileRev = getWorkingCopyRevision(); | 179 Nodeid fileRev = getWorkingCopyRevision(); |
| 180 if (fileRev == null) { | 180 if (fileRev == null) { |
