开发者

svnant command to copy files from an ssh repository to a sever?

开发者 https://www.devze.com 2023-01-12 06:38 出处:网络
Hi is there anybody who knows how to write the copy command for svn-ant or just svn to copy files from an ssh repository(svn+ssh://username@10.10.10.10/media/reposito开发者_运维知识库ry/files) to a se

Hi is there anybody who knows how to write the copy command for svn-ant or just svn to copy files from an ssh repository(svn+ssh://username@10.10.10.10/media/reposito开发者_运维知识库ry/files) to a server folder (var/httdocs/files)


I think you want the svn export command.

The command line would look like this:

svn export svn+ssh://username@10.10.10.10/media/repository/files /var/httdocs/files

The svnant equivalent would look like this:

<svn>
    <export srcUrl="svn+ssh://username@10.10.10.10/media/repository/files"
            destPath="/var/httdocs/files" />
</svn>
0

精彩评论

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