mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
5666399fcf
Summary: The mutation store stores entries with a floating-point timestamp. This pattern was copied from obsmarkers. However, Mercurial uses integer timestamps in the commit metadata (the parser supports floats for historical reasons, but only stores integer timestamps). Mononoke also uses integer timestamps in its `DateTime` type. To keep things simple, switch to using integer timestamps for mutation entries. Existing entries with floating point timestamps are truncated. Add a new entry format version that encodes the timestamp as an integer. For now, continue to generate the old version so that old clients can read entries created by new clients. Reviewed By: quark-zju Differential Revision: D20444366 fbshipit-source-id: 4d6d9851aacb314abea19b87c9d0130c47fdf512 |
||
---|---|---|
.. | ||
hgdemandimport | ||
hgext | ||
mercurial | ||
__init__.py | ||
__main__.py | ||
traceimport.py |