changeset 49222:e7d23c512d3d

debugdeltachain: document the possible value for deltatype So that one can understand what is displayed by the command.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 18 May 2022 17:29:03 +0100
parents 75d0775dce7f
children 13e523228623
files mercurial/debugcommands.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Wed May 18 17:22:32 2022 +0100
+++ b/mercurial/debugcommands.py	Wed May 18 17:29:03 2022 +0100
@@ -764,6 +764,12 @@
     :``chainlen``:  delta chain length to this revision
     :``prevrev``:   previous revision in delta chain
     :``deltatype``: role of delta / how it was computed
+                    - base:  a full snapshot
+                    - snap:  an intermediate snapshot
+                    - p1:    a delta against the first parent
+                    - p2:    a delta against the second parent
+                    - prev:  a delta against the previous revision
+                    - other: a delta against an arbitrary revision
     :``compsize``:  compressed size of revision
     :``uncompsize``: uncompressed size of revision
     :``chainsize``: total size of compressed revisions in chain