Mercurial > public > mercurial-scm > hg-stable
diff tests/test-help.t @ 51398:e2dfa403452d
debug: add a debug::unbundle command that simulate the unbundle from a push
The code have different behavior when the unbundle comes from a push, so we
introduce a command that can simulate such unbundle.
For our copy of mozilla-try-2023-03-22, this make the unbundle jump from 2.5
seconds (with `hg unbundle`) to 15 seconds (with `hg debug::unbundle`).
That 15 seconds timings is consistent with the issue seen in production.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 23 Feb 2024 04:26:03 +0100 |
parents | 752c5a5b73c6 |
children | d4095f7b000a |
line wrap: on
line diff
--- a/tests/test-help.t Wed Feb 14 08:14:46 2024 +0100 +++ b/tests/test-help.t Fri Feb 23 04:26:03 2024 +0100 @@ -1006,6 +1006,8 @@ debug::stable-tail-sort-leaps display the leaps in the stable-tail sort of a node, one per line + debug::unbundle + same as 'hg unbundle', but pretent to come from a push debugancestor find the ancestor revision of two revisions in a given index debugantivirusrunning