# HG changeset patch # User Raphaël Gomès # Date 1666779623 -7200 # Node ID 318bdd289cf266901405d4ee8eb3caa1437947ec # Parent 07b9ca52a378d170ea7f39980741781808b11572 dirstate-v2: correct documented return values of `pack_dirstate` diff -r 07b9ca52a378 -r 318bdd289cf2 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