changeset 49548:318bdd289cf2 stable

dirstate-v2: correct documented return values of `pack_dirstate`
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 26 Oct 2022 12:20:23 +0200
parents 07b9ca52a378
children e255a5355971
files mercurial/dirstateutils/v2.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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