Show More
@@ -1661,6 +1661,17 b' def _getbundletagsfnodes(bundler, repo, ' | |||
|
1661 | 1661 | if chunks: |
|
1662 | 1662 | bundler.newpart('hgtagsfnodes', data=''.join(chunks)) |
|
1663 | 1663 | |
|
1664 | def _getbookmarks(repo, **kwargs): | |
|
1665 | """Returns bookmark to node mapping. | |
|
1666 | ||
|
1667 | This function is primarily used to generate `bookmarks` bundle2 part. | |
|
1668 | It is a separate function in order to make it easy to wrap it | |
|
1669 | in extensions. Passing `kwargs` to the function makes it easy to | |
|
1670 | add new parameters in extensions. | |
|
1671 | """ | |
|
1672 | ||
|
1673 | return dict(bookmod.listbinbookmarks(repo)) | |
|
1674 | ||
|
1664 | 1675 | def check_heads(repo, their_heads, context): |
|
1665 | 1676 | """check if the heads of a repo have been modified |
|
1666 | 1677 |
General Comments 0
You need to be logged in to leave comments.
Login now