comparison mercurial/exchange.py @ 38614:4d5fb4062f0b

remotenames: synchronise remotenames after push also Earlier we use to pull remotenames information from the server in case of pull and clone only. This patch adds logic to push also command to pull remotenames information. This will help us in keeping the remotenames more upto date where there are a lot people changing state of branches and bookmarks at the server. Differential Revision: https://phab.mercurial-scm.org/D2874
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 15 Mar 2018 17:37:03 +0530
parents 2834ac06d5a9
children 9b64b73d702b
comparison
equal deleted inserted replaced
38613:5cbcbe51d38d 38614:4d5fb4062f0b
529 _pushchangeset(pushop) 529 _pushchangeset(pushop)
530 _pushsyncphase(pushop) 530 _pushsyncphase(pushop)
531 _pushobsolete(pushop) 531 _pushobsolete(pushop)
532 _pushbookmark(pushop) 532 _pushbookmark(pushop)
533 533
534 if repo.ui.configbool('experimental', 'remotenames'):
535 logexchange.pullremotenames(repo, remote)
536
534 return pushop 537 return pushop
535 538
536 # list of steps to perform discovery before push 539 # list of steps to perform discovery before push
537 pushdiscoveryorder = [] 540 pushdiscoveryorder = []
538 541