Speedup your Subversion ! As fast as Git!

1   Preface

Do you angry with the speed of svn commit speed ? (more than ten thousand files)

Do you want your Subversion commit speed as fast as GIT and HG?

Do you have a lot of projects controling by Subversion?

Do you have many projects have more than ten thousand files?

Do you want to extent the Subvesion to a decentralized version control system?

Following these steps you could earn what you want :)

2   Local Respository

If you are a developer for yourself, and don't want to share your repository and if you have been use these type Repository Access URLs to localhost :

svn://
http://
http://
svn+ssh://

Now, just relocate respository to you local respository path, that enough for this situation:

[windows] file:///d:/svndepot/myproject
[linux] file:///path/to/repos

3   Remote Respository

If you are a member of a group, and share the Repository with the others on a server:

  • Goto download SVK, and learn how to setup and use it.
  • SVK: take a mirror of server's Repository
  • SVK: create a local branch of your project
  • Check your project out from the local branch with local path ( file://.... )
  • Ok, now you could use the Subversion Manager Tools (ex : TortoiseSVN, RapidSVN, ect. ) to taste the commit speed! ^_^b

4   Notice

After you have finish your sources modified and you want to commit all your changes in your local branch to remote server, you must use SVK to sync the mirror Repository and then push the changes (these operation will commit all changes in your local branch to the remote server ).

5   Effect

I have a project contains 9453 files using svn:// to access the server, each times i have to wasting 10~20 minutes just commit a little changes. Now, i just need to wait 2 seconds. Because the Manager Tools just access the Repository from Harddisk not the Network ^_^! When you satisfy what all your changes to your local branch, you just need to push them (with merge) to the server, SVK will take fast upload operation^o^.

Now, the Subversion as fast as GIT and become a decentralized version control system ^O^ ....

Comments !