Mercurial > public > mercurial-scm > hg
comparison mercurial/state.py @ 41135:050ea8eb42a5
state: update comment about use of CBOR
We use our internal cbor library, not the vendored one in thirdparty.
Differential Revision: https://phab.mercurial-scm.org/D5518
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 07 Jan 2019 16:34:04 -0500 |
parents | 5bfab9400daf |
children | 5f2f6912c9e6 |
comparison
equal
deleted
inserted
replaced
41134:17a195676472 | 41135:050ea8eb42a5 |
---|---|
11 | 11 |
12 All the data related to the command state is stored as dictionary in the object. | 12 All the data related to the command state is stored as dictionary in the object. |
13 The class has methods using which the data can be stored to disk in a file under | 13 The class has methods using which the data can be stored to disk in a file under |
14 .hg/ directory. | 14 .hg/ directory. |
15 | 15 |
16 We store the data on disk in cbor, for which we use the third party cbor library | 16 We store the data on disk in cbor, for which we use the CBOR format to encode |
17 to serialize and deserialize data. | 17 the data. |
18 """ | 18 """ |
19 | 19 |
20 from __future__ import absolute_import | 20 from __future__ import absolute_import |
21 | 21 |
22 from . import ( | 22 from . import ( |