diff src/org/tmatesoft/hg/repo/CommitFacility.java @ 540:67d4b0f73984

Include commit tests into Ant's test suite
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 13 Feb 2013 19:41:33 +0100
parents 9edfd5a223b8
children 6ca3d0c5b4bc
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/CommitFacility.java	Wed Feb 13 18:44:58 2013 +0100
+++ b/src/org/tmatesoft/hg/repo/CommitFacility.java	Wed Feb 13 19:41:33 2013 +0100
@@ -141,6 +141,9 @@
 			} else {
 				contentStream = repo.createStoreFile(df.getPath());
 				newlyAddedFiles.add(df.getPath());
+				// FIXME df doesn't get df.content updated, and clients
+				// that would attempt to access newly added file after commit would fail
+				// (despite the fact the file is in there)
 			}
 			RevlogStreamWriter fileWriter = new RevlogStreamWriter(repo.getSessionContext(), contentStream);
 			Nodeid fileRev = fileWriter.addRevision(bac.toArray(), clogRevisionIndex, fp.first(), fp.second());