简体   繁体   中英

mercurial hg POST to remote server with php

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

ME --push--> bitbucket <--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.

我建议使用system()exec()这样做,因为这是标准的操作过程。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM