开发者

How can I write a svn export command using 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜