This is MichaelSchwern's list of notes while trying to learn SVK.
Best practice for working offline.
- Use svk cp repo ~/your/checkout/dir and create //mirror/thingy and //thingy (local copy)
- To go online use "svk switch //mirror/thingy" in the checkout dir.
- To go offline use "svk switch //thingy" in the checkout dir.
- After switching run "svk pull" to make sure your repo is up to date.
Getting latest version of SVK.
- svk cp svn://svn.clkao.org/svk /path/you/want/the/checkout
- Set the base mirror URI to svn://svn.clkao.org/svk/trunk
- Answer 'svk' for both depots (Translates to //mirror/svk and //svk).
- Get just the head.
Syncing just the head.
- svk sync -s HEAD //mirror/whatever
How do I move a project from //local to another repo?
Let's say I have a local project in //local and then I want to move it to a public repository?
- mkdir a spot for your project on the repo
- Mirror the repo
- svk sm -I -B /local/project //mirror/project
- Delete //local/project
- cp //mirror/project to //local/project
- Now push and pull like a regular local copy of a mirror.