开发者

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
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜