Mercurial and TortoiseHG - Update remote repository after pushing changes
When pushing changes to a remote repository, is it not possible to automatically run update there so the changes开发者_Python百科/files are available?
Use changegroup
hook on the remote side, as described in the Mercurial FAQ.
Edit .hg/hgrc on the remote repository and add:
[hooks]
changegroup.UpdateOnPush = hg update
精彩评论