开发者

How can I write a svn export command using php?

开发者 https://www.devze.com 2023-04-02 10:04 出处:网络
I want to export some files from my server. For that I created one php page. How can I write svn export command in php.

I want to export some files from my server. For that I created one php page. How can I write svn export command in php.

I call this php file from a nant script. Nant script command is like this. I need to write it on php script.


    &开发者_Python百科ltexec program="svn.exe" basedir="${svnexedir}" commandline="export  --force  "${tagrepo}/DevScripts/install.php/" "${localrepo}/myTest/DevScripts/install.php/"" />


You can either search around for a PHP svn module.

Or, easier (potentially better), just use exec() or one of the functions like it.

http://php.net/exec

0

精彩评论

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

关注公众号