mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
fb44958218
Summary: Extend debugscmstore command to fetch arbitrary files / trees by key. Replace debugpyscmstore with a python fallback for debugscmstore (allowing you to test with the store as it is constructed for Python, with legacy fallback). Refactor some functionality so it is shared between the rust and python versions of debugscmstore. Currently the output is pretty ugly. It uses the `{:#?}` format for everything. In the next change, I propose modifying the `Debug` implementation for `minibytes::Bytes` to use ascii-escaped bytestrings rather than the default slice formatter to make things much nicer. This new `debugscmstore` functionality should be useful in integration tests for testing scmstore under different repo configurations, and for test harnesses and performance testing (fetch a specific set of things easily, simulate delays in the key stream by delaying the input pipe, etc). Reviewed By: andll Differential Revision: D27351321 fbshipit-source-id: 8650480e3f5b045b279472643570309c48d7fe6b |
||
---|---|---|
.. | ||
hgdemandimport | ||
hgext | ||
mercurial | ||
__init__.py | ||
__main__.py | ||
hooks.py | ||
traceimport.py | ||
tracing.py |