[PATCH] revlog: update signature of dummy addgroup() in bundlerepo and unionrepo

Yuya Nishihara yuya at tcha.org
Fri Sep 15 15:14:50 UTC 2017


# HG changeset patch
# User Yuya Nishihara <yuya at 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.

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


More information about the Mercurial-devel mailing list