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

ε祈祈猫儿з 提交于 2019-12-12 01:33:57

问题


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/repository/files) to a server folder (var/httdocs/files)


回答1:


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>


来源:https://stackoverflow.com/questions/3495253/svnant-command-to-copy-files-from-an-ssh-repository-to-a-sever

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!