revlog: update signature of dummy addgroup() in bundlerepo and unionrepo
authorYuya Nishihara <yuya@tcha.org>
Fri, 15 Sep 2017 23:58:45 +0900
changeset 34219 21fc747e1bc5
parent 34218 aa877860d4d7
child 34220 e3cd724231ff
revlog: update signature of dummy addgroup() in bundlerepo and unionrepo Per c8b6ed51386b, 2f5c45fe3a3b and 00e3f909907f.
mercurial/bundlerepo.py
mercurial/unionrepo.py
--- a/mercurial/bundlerepo.py	Sat Sep 16 22:55:48 2017 +0900
+++ b/mercurial/bundlerepo.py	Fri Sep 15 23:58:45 2017 +0900
@@ -164,7 +164,7 @@
 
     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
--- a/mercurial/unionrepo.py	Sat Sep 16 22:55:48 2017 +0900
+++ b/mercurial/unionrepo.py	Fri Sep 15 23:58:45 2017 +0900
@@ -126,7 +126,7 @@
 
     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