http://www.perlmonks.org?node_id=569977


in reply to SVK

In my opinion, the real power of SVK is that it gives you personal version control, while integrating easily with a master repository. It does this by letting you make a local branch that you can check-in to without affecting the master repository.

svk cp //foo.bar/svn //local/foo.bar/svn svn co //local/foo.bar/svn

From that point, you can check-in your work incrementally while working totally offline on your own private branch. This is pretty important if you practice test-driven development -- after each new test passes, check in the code.

After reconnecting to the network, you can pull down changes from the master, resolve any conflicts, and push (merge) your changes back upstream.

# while on the network svk pull # go offline and do your work # reconnect to network and get any updates svk pull # resolve conflicts # merge changes back upstream svk push

I often work on my laptop on planes or other places without connectivity and this rocks. Even when I'm on the network, I generally use a local branch as it's really fast to check-in. It's like coding with a safety net.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.