Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dirstateutils/v2.py @ 49540: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 | fc719967efd0 |
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