doupao1530 2011-09-07 10:26
浏览 58
已采纳

svn checkout无法使用php exec()

I want to checkout some files from svn to my locale folder using php. For that I write this code.

    $checkout = "svn --username myuname--password mypass checkout svn://192.16.20.125/projname/trunk/content/Poems/files.swf  D:/PHP_Projects/MyTempRelease/content/Poems/files.swf";    
    exec($checkout);

But its not checkout file to my locale. Not return any error.

  • 写回答

2条回答 默认 最新

  • dsuxcxqep31023992 2011-09-07 10:28
    关注

    I'd try this with a client - Tortoise or something else. Just to see if it works.

    I'd also wonder if the lack of a space between "myuname" and "--password" is killing you.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?