##// END OF EJS Templates
exchange: drop unused '_getbookmarks' function...
Boris Feld -
r35032:6370ed65 default
parent child Browse files
Show More
@@ -1785,17 +1785,6 b' def _getbundletagsfnodes(bundler, repo, '
1785 outgoing = _computeoutgoing(repo, heads, common)
1785 outgoing = _computeoutgoing(repo, heads, common)
1786 bundle2.addparttagsfnodescache(repo, bundler, outgoing)
1786 bundle2.addparttagsfnodescache(repo, bundler, outgoing)
1787
1787
1788 def _getbookmarks(repo, **kwargs):
1789 """Returns bookmark to node mapping.
1790
1791 This function is primarily used to generate `bookmarks` bundle2 part.
1792 It is a separate function in order to make it easy to wrap it
1793 in extensions. Passing `kwargs` to the function makes it easy to
1794 add new parameters in extensions.
1795 """
1796
1797 return dict(bookmod.listbinbookmarks(repo))
1798
1799 def check_heads(repo, their_heads, context):
1788 def check_heads(repo, their_heads, context):
1800 """check if the heads of a repo have been modified
1789 """check if the heads of a repo have been modified
1801
1790
General Comments 0
You need to be logged in to leave comments. Login now