##// END OF EJS Templates
unionrepo: resync several methods to actually override superclass methods...
Matt Harbison -
r50869:90f047ed default
parent child Browse files
Show More
@@ -113,7 +113,7 b' class unionrevlog(revlog.revlog):'
113 self.bundlerevs.add(n)
113 self.bundlerevs.add(n)
114 n += 1
114 n += 1
115
115
116 def _chunk(self, rev):
116 def _chunk(self, rev, df=None):
117 if rev <= self.repotiprev:
117 if rev <= self.repotiprev:
118 return revlog.revlog._chunk(self, rev)
118 return revlog.revlog._chunk(self, rev)
119 return self.revlog2._chunk(self.node(rev))
119 return self.revlog2._chunk(self.node(rev))
@@ -146,7 +146,19 b' class unionrevlog(revlog.revlog):'
146 func = super(unionrevlog, self)._revisiondata
146 func = super(unionrevlog, self)._revisiondata
147 return func(node, _df=_df, raw=raw)
147 return func(node, _df=_df, raw=raw)
148
148
149 def addrevision(self, text, transaction, link, p1=None, p2=None, d=None):
149 def addrevision(
150 self,
151 text,
152 transaction,
153 link,
154 p1,
155 p2,
156 cachedelta=None,
157 node=None,
158 flags=revlog.REVIDX_DEFAULT_FLAGS,
159 deltacomputer=None,
160 sidedata=None,
161 ):
150 raise NotImplementedError
162 raise NotImplementedError
151
163
152 def addgroup(
164 def addgroup(
@@ -157,7 +169,8 b' class unionrevlog(revlog.revlog):'
157 alwayscache=False,
169 alwayscache=False,
158 addrevisioncb=None,
170 addrevisioncb=None,
159 duplicaterevisioncb=None,
171 duplicaterevisioncb=None,
160 maybemissingparents=False,
172 debug_info=None,
173 delta_base_reuse_policy=None,
161 ):
174 ):
162 raise NotImplementedError
175 raise NotImplementedError
163
176
General Comments 0
You need to be logged in to leave comments. Login now