Mercurial > hg-stable
diff mercurial/bundle2.py @ 35268:ad5f2b923b0d
push: include a 'check:bookmarks' part when possible
Before updating the actual bookmark update, we can start with updating the way
we check for push race. Checking bookmarks state earlier is useful even if we
still use pushkey. Aborting before the changegroup is added can save a lot of
time.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 13 Nov 2017 04:22:45 +0100 |
parents | dbf868623daf |
children | af5507203d01 |
line wrap: on
line diff
--- a/mercurial/bundle2.py Sun Oct 15 15:01:03 2017 +0200 +++ b/mercurial/bundle2.py Mon Nov 13 04:22:45 2017 +0100 @@ -1475,6 +1475,7 @@ # These are only the static capabilities. # Check the 'getrepocaps' function for the rest. capabilities = {'HG20': (), + 'bookmarks': (), 'error': ('abort', 'unsupportedcontent', 'pushraced', 'pushkey'), 'listkeys': (),