equal
deleted
inserted
replaced
146 |
146 |
147 We need a simple python object to test API and higher level behavior. See |
147 We need a simple python object to test API and higher level behavior. See |
148 the Rust implementation for more serious usage. This should be used only |
148 the Rust implementation for more serious usage. This should be used only |
149 through the dedicated `devel.persistent-nodemap` config. |
149 through the dedicated `devel.persistent-nodemap` config. |
150 """ |
150 """ |
|
151 |
|
152 def nodemap_data_all(self): |
|
153 """Return bytes containing a full serialization of a nodemap |
|
154 |
|
155 The nodemap should be valid for the full set of revisions in the |
|
156 index.""" |
|
157 return nodemaputil.persistent_data(self) |
151 |
158 |
152 |
159 |
153 class InlinedIndexObject(BaseIndexObject): |
160 class InlinedIndexObject(BaseIndexObject): |
154 def __init__(self, data, inline=0): |
161 def __init__(self, data, inline=0): |
155 self._data = data |
162 self._data = data |