# HG changeset patch # User Gregory Szorc # Date 1495250071 25200 # Node ID d47b62368f3a87b65406062507fafc1606f77ea3 # Parent 36d3559c69a6afddaf35125c05c1890e1d7cc3e6 revlog: remove some revlogNG terminology RevlogNG is not such a good name when it is no longer the newest revlog version. Since we'll soon have revlog version 2, let's remove some references to it. diff -r 36d3559c69a6 -r d47b62368f3a mercurial/help/internals/revlogs.txt --- a/mercurial/help/internals/revlogs.txt Fri May 19 20:10:50 2017 -0700 +++ b/mercurial/help/internals/revlogs.txt Fri May 19 20:14:31 2017 -0700 @@ -60,23 +60,23 @@ The following header values are common: 00 00 00 01 - RevlogNG + v1 00 01 00 01 - RevlogNG + inline + v1 + inline 00 02 00 01 - RevlogNG + generaldelta + v1 + generaldelta 00 03 00 01 - RevlogNG + inline + generaldelta + v1 + inline + generaldelta Following the 32-bit header is the remainder of the first index entry. Following that are remaining *index* data. Inlined revision data is possibly located between index entries. More on this layout is described below. -RevlogNG Format -=============== +Version 1 Format +================ -RevlogNG (version 1) begins with an index describing the revisions in +Version 1 (RevlogNG) begins with an index describing the revisions in the revlog. If the ``inline`` flag is set, revision data is stored inline, or between index entries (as opposed to in a separate container). diff -r 36d3559c69a6 -r d47b62368f3a mercurial/revlog.py --- a/mercurial/revlog.py Fri May 19 20:10:50 2017 -0700 +++ b/mercurial/revlog.py Fri May 19 20:14:31 2017 -0700 @@ -189,7 +189,7 @@ def packentry(self, entry, node, version, rev): if gettype(entry[0]): - raise RevlogError(_("index entry flags need RevlogNG")) + raise RevlogError(_('index entry flags need revlog version 1')) e2 = (getoffset(entry[0]), entry[1], entry[3], entry[4], node(entry[5]), node(entry[6]), entry[7]) return _pack(indexformatv0, *e2)