--- a/mercurial/changegroup.py Tue Oct 13 17:14:07 2015 -0400
+++ b/mercurial/changegroup.py Tue Oct 13 17:14:37 2015 -0400
@@ -909,12 +909,3 @@
(f, hex(n)))
return revisions, files
-
-def addchangegroup(repo, source, srctype, url, emptyok=False,
- targetphase=phases.draft, expectedtotal=None):
- """Legacy forwarding method to cg?unpacker.apply() to be removed soon."""
- if not source:
- return 0
-
- return source.apply(repo, srctype, url, emptyok=emptyok,
- targetphase=targetphase, expectedtotal=expectedtotal)