From patchwork Fri Sep 15 15:14:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: revlog: update signature of dummy addgroup() in bundlerepo and unionrepo From: Yuya Nishihara X-Patchwork-Id: 23910 Message-Id: <18004bf555f8c1087753.1505488490@mimosa> To: mercurial-devel@mercurial-scm.org Date: Sat, 16 Sep 2017 00:14:50 +0900 # HG changeset patch # User Yuya Nishihara # Date 1505487525 -32400 # Fri Sep 15 23:58:45 2017 +0900 # Node ID 18004bf555f8c1087753ab3ca3a16741c0ce6482 # Parent 98010c7a5745e1b47bf17268ef023338d5989274 revlog: update signature of dummy addgroup() in bundlerepo and unionrepo Per c8b6ed51386b, 2f5c45fe3a3b and 00e3f909907f. diff --git a/mercurial/bundlerepo.py b/mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py +++ b/mercurial/bundlerepo.py @@ -164,7 +164,7 @@ class bundlerevlog(revlog.revlog): def addrevision(self, text, transaction, link, p1=None, p2=None, d=None): raise NotImplementedError - def addgroup(self, revs, linkmapper, transaction): + def addgroup(self, deltas, transaction, addrevisioncb=None): raise NotImplementedError def strip(self, rev, minlink): raise NotImplementedError diff --git a/mercurial/unionrepo.py b/mercurial/unionrepo.py --- a/mercurial/unionrepo.py +++ b/mercurial/unionrepo.py @@ -126,7 +126,7 @@ class unionrevlog(revlog.revlog): def addrevision(self, text, transaction, link, p1=None, p2=None, d=None): raise NotImplementedError - def addgroup(self, revs, linkmapper, transaction): + def addgroup(self, deltas, transaction, addrevisioncb=None): raise NotImplementedError def strip(self, rev, minlink): raise NotImplementedError