Show More
@@ -1071,14 +1071,6 b' class imanifestrevisionbase(interfaceuti' | |||
|
1071 | 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 | 1074 | def copy(): |
|
1083 | 1075 | """Obtain a copy of this manifest instance. |
|
1084 | 1076 |
@@ -1921,9 +1921,6 b' class memmanifestctx(object):' | |||
|
1921 | 1921 | def _storage(self): |
|
1922 | 1922 | return self._manifestlog.getstorage(b'') |
|
1923 | 1923 | |
|
1924 | def new(self): | |
|
1925 | return memmanifestctx(self._manifestlog) | |
|
1926 | ||
|
1927 | 1924 | def copy(self): |
|
1928 | 1925 | memmf = memmanifestctx(self._manifestlog) |
|
1929 | 1926 | memmf._manifestdict = self.read().copy() |
@@ -1970,9 +1967,6 b' class manifestctx(object):' | |||
|
1970 | 1967 | def node(self): |
|
1971 | 1968 | return self._node |
|
1972 | 1969 | |
|
1973 | def new(self): | |
|
1974 | return memmanifestctx(self._manifestlog) | |
|
1975 | ||
|
1976 | 1970 | def copy(self): |
|
1977 | 1971 | memmf = memmanifestctx(self._manifestlog) |
|
1978 | 1972 | memmf._manifestdict = self.read().copy() |
@@ -2037,9 +2031,6 b' class memtreemanifestctx(object):' | |||
|
2037 | 2031 | def _storage(self): |
|
2038 | 2032 | return self._manifestlog.getstorage(b'') |
|
2039 | 2033 | |
|
2040 | def new(self, dir=b''): | |
|
2041 | return memtreemanifestctx(self._manifestlog, dir=dir) | |
|
2042 | ||
|
2043 | 2034 | def copy(self): |
|
2044 | 2035 | memmf = memtreemanifestctx(self._manifestlog, dir=self._dir) |
|
2045 | 2036 | memmf._treemanifest = self._treemanifest.copy() |
@@ -2122,9 +2113,6 b' class treemanifestctx(object):' | |||
|
2122 | 2113 | def node(self): |
|
2123 | 2114 | return self._node |
|
2124 | 2115 | |
|
2125 | def new(self, dir=b''): | |
|
2126 | return memtreemanifestctx(self._manifestlog, dir=dir) | |
|
2127 | ||
|
2128 | 2116 | def copy(self): |
|
2129 | 2117 | memmf = memtreemanifestctx(self._manifestlog, dir=self._dir) |
|
2130 | 2118 | memmf._treemanifest = self.read().copy() |
General Comments 0
You need to be logged in to leave comments.
Login now