Mercurial > hg
diff mercurial/help/internals/revlogs.txt @ 30829:08b34c3a6f74
revlog: give EXTSTORED flag value to narrowhg
Narrowhg has been using "1 << 14" as its revlog flag value for a long
time. We (Google) have many repos with that value in production
already. When the same value was reserved for EXTSTORED, it made those
repos invalid. Upgrading them will be a little painful. We should
clearly have reserved the value for narrowhg a long time ago. Since
the EXTSTORED flag is not yet in any release and Facebook also says
they have not started using it in production, so it should be okay to
change it. This patch gives the current value (1 << 14) back to
narrowhg and gives a new value (1 << 13) to EXTSTORED.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 17 Jan 2017 11:25:02 -0800 |
parents | 0b792507ea15 |
children | 167b69ccc62c |
line wrap: on
line diff
--- a/mercurial/help/internals/revlogs.txt Tue Jan 17 11:45:10 2017 -0800 +++ b/mercurial/help/internals/revlogs.txt Tue Jan 17 11:25:02 2017 -0800 @@ -94,7 +94,10 @@ 0: REVIDX_ISCENSORED revision has censor metadata, must be verified. - 1: REVIDX_EXTSTORED revision data is stored externally. + 1: REVIDX_ELLIPSIS revision hash does not match its data. Used by + narrowhg + + 2: REVIDX_EXTSTORED revision data is stored externally. 8-11 (4 bytes) Compressed length of revision data / chunk as stored in revlog.