Patchwork revlog: update signature of dummy addgroup() in bundlerepo and unionrepo

login
register
mail settings
Submitter Yuya Nishihara
Date Sept. 15, 2017, 3:14 p.m.
Message ID <18004bf555f8c1087753.1505488490@mimosa>
Download mbox | patch
Permalink /patch/23910/
State Accepted
Headers show

Comments

Yuya Nishihara - Sept. 15, 2017, 3:14 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# 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.
Augie Fackler - Sept. 15, 2017, 4:11 p.m.
On Sat, Sep 16, 2017 at 12:14:50AM +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya@tcha.org>
> # 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

queued, thanks

Patch

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