Skip to content
Snippets Groups Projects
Commit 90f047ed authored by Matt Harbison's avatar Matt Harbison
Browse files

unionrepo: resync several methods to actually override superclass methods

Not sure how/when these skewed, but these were flagged by PyCharm as having
different signatures.
parent 1bd33932
No related branches found
No related tags found
2 merge requests!485branching: merge default into stable,!413unionrepo/bundle repo fixes
......@@ -113,7 +113,7 @@
self.bundlerevs.add(n)
n += 1
def _chunk(self, rev):
def _chunk(self, rev, df=None):
if rev <= self.repotiprev:
return revlog.revlog._chunk(self, rev)
return self.revlog2._chunk(self.node(rev))
......@@ -146,7 +146,19 @@
func = super(unionrevlog, self)._revisiondata
return func(node, _df=_df, raw=raw)
def addrevision(self, text, transaction, link, p1=None, p2=None, d=None):
def addrevision(
self,
text,
transaction,
link,
p1,
p2,
cachedelta=None,
node=None,
flags=revlog.REVIDX_DEFAULT_FLAGS,
deltacomputer=None,
sidedata=None,
):
raise NotImplementedError
def addgroup(
......@@ -157,7 +169,8 @@
alwayscache=False,
addrevisioncb=None,
duplicaterevisioncb=None,
maybemissingparents=False,
debug_info=None,
delta_base_reuse_policy=None,
):
raise NotImplementedError
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment