开发者

mercurial hg POST to remote server with php

开发者 https://www.devze.com 2023-03-30 18:07 出处:网络
I have an account at bitbucket, here is what i want to achieve. ME --push--> bitbucket <开发者_StackOverflow中文版;--post--> server

I have an account at bitbucket, here is what i want to achieve.

ME --push--> bitbucket <开发者_StackOverflow中文版;--post--> server

server to bitbucket is fine.

I try to setup the POST URL like this

<?php `hg pull -u`; 

in my server. Is this the correct way? i try to apply the back tick to execute the command.


I would suggest doing this with system() or exec(), simply because that's the standard operation procedure.

0

精彩评论

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