changeset 32393:d47b62368f3a

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.
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 19 May 2017 20:14:31 -0700
parents 36d3559c69a6
children 38a2b9d90131
files mercurial/help/internals/revlogs.txt mercurial/revlog.py
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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).
 
--- 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)