Mercurial > hg4j
diff src/org/tmatesoft/hg/internal/Patch.java @ 420:6c22bdc0bdfd
Respect long offsets in revlogs
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 22 Mar 2012 22:56:01 +0100 |
parents | 7f136a3fa671 |
children | 0f6fa88e2162 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/Patch.java Thu Mar 22 21:36:41 2012 +0100 +++ b/src/org/tmatesoft/hg/internal/Patch.java Thu Mar 22 22:56:01 2012 +0100 @@ -120,7 +120,7 @@ } baseRevisionContent.seek(prevEnd); // copy everything in the source past last record's end - baseRevisionContent.readBytes(rv, destIndex, (int) (baseRevisionContent.length() - prevEnd)); + baseRevisionContent.readBytes(rv, destIndex, (baseRevisionContent.length() - prevEnd)); return rv; }