dirstate-v2: correct documented return values of `pack_dirstate` stable
authorRaphaël Gomès <rgomes@octobus.net>
Wed, 26 Oct 2022 12:20:23 +0200
branchstable
changeset 49547 318bdd289cf2
parent 49546 07b9ca52a378
child 49548 e255a5355971
dirstate-v2: correct documented return values of `pack_dirstate`
mercurial/dirstateutils/v2.py
--- a/mercurial/dirstateutils/v2.py	Wed Oct 26 12:19:47 2022 +0200
+++ b/mercurial/dirstateutils/v2.py	Wed Oct 26 12:20:23 2022 +0200
@@ -176,7 +176,7 @@
 def pack_dirstate(map, copy_map):
     """
     Pack `map` and `copy_map` into the dirstate v2 binary format and return
-    the bytearray.
+    the tuple of (data, metadata) bytearrays.
 
     The on-disk format expects a tree-like structure where the leaves are
     written first (and sorted per-directory), going up levels until the root