Mercurial > jhg
diff src/org/tmatesoft/hg/internal/RevlogDump.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 | f52ca9530774 |
children | e6f72c9829a6 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/RevlogDump.java Thu Mar 22 21:36:41 2012 +0100 +++ b/src/org/tmatesoft/hg/internal/RevlogDump.java Thu Mar 22 22:56:01 2012 +0100 @@ -76,7 +76,7 @@ while (dis.available() > 0) { long l = di.readLong(); long offset = entryIndex == 0 ? 0 : (l >>> 16); - int flags = (int) (l & 0X0FFFF); + int flags = (int) (l & 0x0FFFF); int compressedLen = di.readInt(); int actualLen = di.readInt(); int baseRevision = di.readInt();