I'm using TortoiseSVN to keep revisions of my code. When I commit changes, I take note of what files have changed and upload them to my server using FTP.

Here's my workflow:

  1. Edit files on local computer (eg. files in C:\Users\Me\web)
  2. Commit changes to local repository using rightclick-> TortoiseSVN-> SVN Commit.
  3. Take the files, open FileZilla (FTP client) and upload the files to a remote server.

I was wondering if there was a way in which I could omit step 3 from my workflow. Basically I would like the changed files to be automatically uploaded to the remote server when I commit a version to the repository.

Information about my computer environment:

  1. Windows 7 Ultimate x64 with TortoiseSVN x64
  2. Notepad++ text editor
  3. Files edited are PHP, CSS, JS, HTML, etc.
  4. Server is running Linux with PHP 5.2 and MySQL.
  5. FileZilla is used to upload files. I can connect to the server via SSH if that is needed.

Thank you in advance.

link|improve this question
feedback

1 Answer

There are multiple ways to accomplish this described in Repository Replication section of SVN book. Some of them require extra programming (e.g hooks), some extra set up and configuration (e.g. svnsync program).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.