开发者

Mercurial and TortoiseHG - Update remote repository after pushing changes

开发者 https://www.devze.com 2023-03-25 02:27 出处:网络
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 descri

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
0

精彩评论

暂无评论...
验证码 换一张
取 消