Mercurial > hg
comparison tests/testlib/ext-stream-clone-steps.py @ 50624:c2633c69cbe0
stream-clone: document the ext-stream-clone-steps.py utility extension
This extension is useful, let us clarify how to use it.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 29 May 2023 01:38:34 +0200 |
parents | 6000f5b25c9b |
children |
comparison
equal
deleted
inserted
replaced
50623:99dfe806d2f3 | 50624:c2633c69cbe0 |
---|---|
1 # A utility extension that help taking a break during streamclone operation | |
2 # | |
3 # This extension is used through two environment variable | |
4 # | |
5 # HG_TEST_STREAM_WALKED_FILE_1 | |
6 # | |
7 # path of a file created by the process generating the streaming clone when | |
8 # it is done gathering data and is ready to unlock the repository and move | |
9 # to the streaming of content. | |
10 # | |
11 # HG_TEST_STREAM_WALKED_FILE_2 | |
12 # | |
13 # path of a file to be manually created to let the process generating the | |
14 # streaming clone proceed to streaming file content. | |
15 | |
1 from mercurial import ( | 16 from mercurial import ( |
2 encoding, | 17 encoding, |
3 extensions, | 18 extensions, |
4 streamclone, | 19 streamclone, |
5 testing, | 20 testing, |