comparison src/org/tmatesoft/hg/internal/COWTransaction.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 4ec2d44e2bf3
children dde18bc7053b
comparison
equal deleted inserted replaced
653:629a7370554c 654:12a4f60ea972
39 39
40 private final FileUtils fileHelper; 40 private final FileUtils fileHelper;
41 private final List<RollbackEntry> entries = new LinkedList<RollbackEntry>(); 41 private final List<RollbackEntry> entries = new LinkedList<RollbackEntry>();
42 42
43 public COWTransaction(SessionContext.Source ctxSource) { 43 public COWTransaction(SessionContext.Source ctxSource) {
44 fileHelper = new FileUtils(ctxSource.getSessionContext().getLog()); 44 fileHelper = new FileUtils(ctxSource.getSessionContext().getLog(), this);
45 } 45 }
46 46
47 @Override 47 @Override
48 public File prepare(File f) throws HgIOException { 48 public File prepare(File f) throws HgIOException {
49 if (known(f)) { 49 if (known(f)) {