views:

12

answers:

1

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://[email protected]/media/repository/files) to a server folder (var/httdocs/files)

+1  A: 

I think you want the svn export command.

The command line would look like this:

svn export svn+ssh://[email protected]/media/repository/files /var/httdocs/files

The svnant equivalent would look like this:

<svn>
    <export srcUrl="svn+ssh://[email protected]/media/repository/files"
            destPath="/var/httdocs/files" />
</svn>
ChrisH