Mercurial > hg
comparison tests/test-dirstate.t @ 49156:09984dc70352 stable
rust-dirstate-v2: fix the unused bytes counter when rewriting the dirstate
As per the previous patch, the counter was incorrectly carried over from the
old docket when it should be reset for a complete rewrite.
Differential Revision: https://phab.mercurial-scm.org/D12594
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Thu, 28 Apr 2022 17:15:35 +0200 |
parents | c69adc82e7f7 |
children | 5d610521a285 |
comparison
equal
deleted
inserted
replaced
49155:c69adc82e7f7 | 49156:09984dc70352 |
---|---|
193 [1] | 193 [1] |
194 | 194 |
195 Check that unused bytes counter is reset when creating a new docket | 195 Check that unused bytes counter is reset when creating a new docket |
196 | 196 |
197 $ hg debugstate --docket | grep unused | 197 $ hg debugstate --docket | grep unused |
198 number of unused bytes: 0 (no-rust !) | 198 number of unused bytes: 0 |
199 number of unused bytes: [1-9]\d* (re) (rust known-bad-output !) | |
200 | 199 |
201 #endif | 200 #endif |
202 | 201 |
203 $ cd .. | 202 $ cd .. |