Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Synchronizing SVN repo from local to server?

Tags:

svn

So i have this local SVN repo that i am using for my dev work on a particular project, and i also have a SVN repo setup on the customers media temple account for a more secure backup.

I do all of my development on my laptop so i don't always have an internet connection (hence the local SVN), so i was wondering if there is an easy way to push the changes i commit to my local repo onto the server repo?

like image 439
Jason Miesionczek Avatar asked Jan 24 '23 01:01

Jason Miesionczek


2 Answers

You will probably want to svn merge versions between repositories.

There are some good tutorials around how you can do that. Give a look at http://blog.red-bean.com/sussman/?p=92 or http://subversion.tigris.org/faq.html#multi-merge for a good introduction on that topic

like image 176
Fernando Barrocal Avatar answered Jan 29 '23 09:01

Fernando Barrocal


I know it's a stretch, but what you're attempting to do is not necessarily suited for Subversion, since it is a centralized revision control system (only one master copy of the repository).

Git is a distributed revision control system that would allow you to make offline commits, diffs and merges. You should check it out.

like image 36
Nick Sergeant Avatar answered Jan 29 '23 08:01

Nick Sergeant