Mercurial > public > mercurial-scm > hg
comparison mercurial/interfaces/repository.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 | dbbae122f5e4 |
children | 0bf3b5e80d30 |
comparison
equal
deleted
inserted
replaced
44261:04a3ae7aba14 | 44262:c86256bd4eb8 |
---|---|
1069 | 1069 |
1070 Should not be used as a primary interface: should always be inherited | 1070 Should not be used as a primary interface: should always be inherited |
1071 as part of a larger interface. | 1071 as part of a larger interface. |
1072 """ | 1072 """ |
1073 | 1073 |
1074 def new(): | |
1075 """Obtain a new manifest instance. | |
1076 | |
1077 Returns an object conforming to the ``imanifestrevisionwritable`` | |
1078 interface. The instance will be associated with the same | |
1079 ``imanifestlog`` collection as this instance. | |
1080 """ | |
1081 | |
1082 def copy(): | 1074 def copy(): |
1083 """Obtain a copy of this manifest instance. | 1075 """Obtain a copy of this manifest instance. |
1084 | 1076 |
1085 Returns an object conforming to the ``imanifestrevisionwritable`` | 1077 Returns an object conforming to the ``imanifestrevisionwritable`` |
1086 interface. The instance will be associated with the same | 1078 interface. The instance will be associated with the same |