Jump to content

Recommended Posts

So i have been trying to find a way to auto update my SVN repo whenever someone commit a new file


I found this commandline from google and i can get that to work with autoit np

CD C:\Program Files\TortoiseSVN\bin\
START TortoiseProc.exe /command:update /path:"C:\www\MyRepo\" /closeonend:0

But what i want is everytime someone commits something and my repo aint the newest version, i want it to run the commandline.

I tried googling and can't find anything

is this even possible, if it is how? can you get the newest version with a command line to and compare it to your own version maybe ?


Edited by TheOnlyOne
Link to comment
Share on other sites

If you're talking about your local checkout, from that folder you will want to run

svn update

This will update your working copy to match what is on the server. You don't need to check if your working copy and the server have matching versions as the update command will either update your checkout or do nothing if you're already at the same HEAD revision as the server.

Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...