changeset 34226:21fc747e1bc5

revlog: update signature of dummy addgroup() in bundlerepo and unionrepo Per c8b6ed51386b, 2f5c45fe3a3b and 00e3f909907f.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 15 Sep 2017 23:58:45 +0900
parents aa877860d4d7
children e3cd724231ff
files mercurial/bundlerepo.py mercurial/unionrepo.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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