debugdeltachain: document the possible value for deltatype
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 18 May 2022 17:29:03 +0100
changeset 49222 e7d23c512d3d
parent 49221 75d0775dce7f
child 49223 13e523228623
debugdeltachain: document the possible value for deltatype So that one can understand what is displayed by the command.
mercurial/debugcommands.py
--- 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