Showing posts with label SVN. Show all posts
Showing posts with label SVN. Show all posts

SVN: Moving subversion repository from one server to another server

This works between any kind of servers windows or linux...

Step 1: Backup / create a dump of old repository
svnadmin dump /path/to/repository > repo_name.dump 

Step 2: Create a new repository on the new server
svnadmin create /path/to/repository 

Step 3: Import the the old repository
svnadmin load /path/to/repository < repo_name.dump

Python contextlib for Timing Python code

If you've ever found yourself needing to measure the execution time of specific portions of your Python code, the `contextlib` module o...