Rider
Rider

Reputation: 1003

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

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)

Upvotes: 0

Views: 2231

Answers (1)

ChrisH
ChrisH

Reputation: 4826

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>

Upvotes: 2

Related Questions