RepoUtils.modifyFileAppend(tf1, "2");
tr1.done(tf1);
File tf2 = tr1.prepare(f2);
errorCollector.assertTrue(tf2.exists());
RepoUtils.modifyFileAppend(tf2, "A");
tr1.done(tf2);
tr1.commit();
errorCollector.assertTrue(f1.isFile());
errorCollector.assertTrue(f2.isFile());
errorCollector.assertEquals("12", read(f1));
errorCollector.assertEquals("A", read(f2));