Mercurial > jhg
diff src/com/tmate/hgkit/ll/RevlogStream.java @ 44:b79cf0118dd3
Second array gone, comment follows
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 14 Jan 2011 04:43:16 +0100 |
parents | 1b26247d7367 |
children | 26e3eeaa3962 |
line wrap: on
line diff
--- a/src/com/tmate/hgkit/ll/RevlogStream.java Fri Jan 14 04:41:05 2011 +0100 +++ b/src/com/tmate/hgkit/ll/RevlogStream.java Fri Jan 14 04:43:16 2011 +0100 @@ -284,7 +284,6 @@ // mpatch.c : apply() // FIXME need to implement patch merge (fold, combine, gather and discard from aforementioned mpatch.[c|py]), also see Revlog and Mercurial PDF - // FIXME why 2 arrays (rv and tempBuf)???. Think over in-place merging (perhaps some sparse byte chunk list?) - to minimize mem use. /*package-local for HgBundle; until moved to better place*/static byte[] apply(byte[] baseRevisionContent, int outcomeLen, List<PatchRecord> patch) { int last = 0, destIndex = 0; if (outcomeLen == -1) {