mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
becb7da2e3
Summary: The state entry of a dirstate tuple is a single character. In python 3 it's a unicode string. To parse it, previously we used 'C' which takes a single character unicode string and (little did I know) returns an int. We were storing this in a char, which causes corruption. Let's switch to reading the string, and just grabbing the first byte. Reviewed By: xavierd Differential Revision: D20143094 fbshipit-source-id: d9946c0cefdafe0941f4bdac070659fac27f30e3 |
||
---|---|---|
.. | ||
hgdemandimport | ||
hgext | ||
mercurial | ||
__init__.py | ||
__main__.py | ||
traceimport.py |