mercurial/exchange.py
changeset 35041 6370ed6516a6
parent 35039 d7a4384d2d87
child 35236 5a62910948d2
--- a/mercurial/exchange.py	Sun Oct 15 15:21:47 2017 +0200
+++ b/mercurial/exchange.py	Tue Oct 17 15:55:40 2017 +0200
@@ -1785,17 +1785,6 @@
     outgoing = _computeoutgoing(repo, heads, common)
     bundle2.addparttagsfnodescache(repo, bundler, outgoing)
 
-def _getbookmarks(repo, **kwargs):
-    """Returns bookmark to node mapping.
-
-    This function is primarily used to generate `bookmarks` bundle2 part.
-    It is a separate function in order to make it easy to wrap it
-    in extensions. Passing `kwargs` to the function makes it easy to
-    add new parameters in extensions.
-    """
-
-    return dict(bookmod.listbinbookmarks(repo))
-
 def check_heads(repo, their_heads, context):
     """check if the heads of a repo have been modified