Mercurial > hg
comparison tests/test-check-interfaces.py @ 44262:c86256bd4eb8
manifest: remove `.new()` from the interface
Nothing used it.
Differential Revision: https://phab.mercurial-scm.org/D8079
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 05 Feb 2020 15:01:22 -0500 |
parents | 2372284d9457 |
children | 8c66a680f396 |
comparison
equal
deleted
inserted
replaced
44261:04a3ae7aba14 | 44262:c86256bd4eb8 |
---|---|
250 # Conforms to imanifestrevision. | 250 # Conforms to imanifestrevision. |
251 mctx = ml[repo[0].manifestnode()] | 251 mctx = ml[repo[0].manifestnode()] |
252 checkzobject(mctx) | 252 checkzobject(mctx) |
253 | 253 |
254 # Conforms to imanifestrevisionwritable. | 254 # Conforms to imanifestrevisionwritable. |
255 checkzobject(mctx.new()) | |
256 checkzobject(mctx.copy()) | 255 checkzobject(mctx.copy()) |
257 | 256 |
258 # Conforms to imanifestdict. | 257 # Conforms to imanifestdict. |
259 checkzobject(mctx.read()) | 258 checkzobject(mctx.read()) |
260 | 259 |