开发者

PHP export a specific SVN revision?

Is there a way of exporting a specific revision from SVN via PHP? The svn_function() does current开发者_如何学Goly not offer such a parameter.


Doesn't look like it.

I assume you have to svn_checkout() first (that one accepts a revision number) and then export from there.


I got an answer from the PHP mailing list:

As of version 1.0.0 of the SVN PECL extension, you can provide a 4th parameter (undocumented) to svn_export() to specify a revision number.

Changelog of 1.0.0: http://pecl.php.net/package-info.php?package=svn&version=1.0.0

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜