Mercurial > hg4j
diff src/org/tmatesoft/hg/internal/Transaction.java @ 621:99ad1e3a4e4d
RevlogStream: be aware of existence (not HgDataFile), facilitate use of an added HgDataFile over a commit; Rollback: be more sensitive about file changes (file size is not enough: write/rollback leaves it intact); tests
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Sat, 18 May 2013 22:23:57 +0200 |
parents | 65c01508f002 |
children |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/Transaction.java Sat May 18 21:55:31 2013 +0200 +++ b/src/org/tmatesoft/hg/internal/Transaction.java Sat May 18 22:23:57 2013 +0200 @@ -44,6 +44,7 @@ /** * Record the file is going to be modified during this transaction, obtain actual * destination to write to. + * The file to be modified not necessarily exists, might be just a name of an added file */ public abstract File prepare(File f) throws HgIOException; /**