Link to home
Start Free TrialLog in
Avatar of michalek19
michalek19Flag for United States of America

asked on

Is there a way to SYNC and Schedule SVN - repository (source) with working copy on a server?

Hi

Is there a way to SYNC and Schedule SVN - repository (source) with working copy on a server?

Can you please explain me how to do it, step by step?

Sync task needs to run every night to pull changes from repository (source) and update working copy on a server.

Regards, M
Avatar of dpearson
dpearson

Sure - all you need is some sort of scheduled task that runs "svn update" on the server.

If this is a linux server, you should be looking to setup a cron job.
If this is a Windows server, you should be looking to setup a "scheduled task".

In both cases you would then need a short script which would call "svn update" - which means get the latest version of files from the svn repository.

Definitely doable.

Doug
Avatar of michalek19

ASKER

If this is a Windows server, you should be looking to setup a "scheduled task".

This is the WIndows server.

Would you be able to provide me a script that i can modify for my needs?

I am kind of NEW to SVN.
ASKER CERTIFIED SOLUTION
Avatar of dpearson
dpearson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I used this solution. Thx