Search code examples
svnproduction

SVN to Production quality code


Hi I have SVN repo that I frequently use for change management.

However after each fix, I have to upload the code to the production server.

At the moment, I upload files by files so that the .svn directory do not uploaded.

Is there a way to upload the all code from svn repo to server without .svn directories, the easier way?


Solution

  • Yes, the command is

    svn export [URL]
    

    This exports your svn repository without the .svn meta information. If you want to automatically deploy it to a test/production server you might have a look at the post-commit hooks.