bookmark: use the 'bookmarks' bundle2 part to push bookmark update (issue5165)
We use the new binary parts we introduced earlier to exchange bookmark. The payload is a bit more compact since we use binary and the length of bookmarks is no longer constrained to 255. .. fix:: Issue 5165 Bookmark, whose name is longer than 255, can again be exchanged again between 4.4+ client and servers.
Showing
- mercurial/exchange.py 37 additions, 1 deletionmercurial/exchange.py
- tests/test-bookmarks-pushpull.t 26 additions, 29 deletionstests/test-bookmarks-pushpull.t
- tests/test-bundle2-exchange.t 0 additions, 9 deletionstests/test-bundle2-exchange.t
- tests/test-hook.t 2 additions, 4 deletionstests/test-hook.t
-
mentioned in commit ebfcb066f345
-
mentioned in commit c6986254af76
-
mentioned in commit 9cfb3d0be429
Please register or sign in to comment