靠的是SVN版本我想下載文件靠的是SVN版本我想下載文件在PHP
命令:svn log -r ".$fileId ." -v
輸出:
Array
(
[0] => ------------------------------------------------------------------------
[1] => r11369 | owner | 2011-03-14 15:42:38 +0530 (Mon, 14 Mar 2011) | 1 line
[2] => Changed paths:
[3] => A /Process Related Documents/Engineering/SourceCode/fullpath
[4] =>
[5] => Uploaded By Username
[6] => ------------------------------------------------------------------------
)
有1檔5次修訂
r01,r02,r03,r04和r05 現在我想下載r03文件..
你應該考慮編輯這個問題,因爲它沒有多大意義。你在這裏有什麼問題? – dianovich 2011-03-14 13:30:41
您可以使用'--xml'選項以XML格式提取日誌,可能會更容易解析。 – mdm 2011-03-14 13:32:35
svn「保存修改爲」commad line怎麼辦 – rajaneesh 2011-03-15 05:47:29