[svk-devel] svk as svn mirroring mechanism

Justin Patrin papercrane at gmail.com
Sat Dec 2 00:54:26 EST 2006


I'm looking into a way to do svn mirroring (due to network slowness
between two sites) and saw the pages on using svk as a mirroring tool.
I started by using the following:

svk ls http://central.server/repo
svk ls http://mirror.server/repo
svk smerge -IB //mirror/central //mirror/mirror

This does work to mirror but it has a nasty side-effect. The mirror
server doesn't faithfully preserve the copy (branch, Add+) operations.
This means that all copies, renames, and branches not only don't
preserve the history of where they were branched from, they also take
up a lot more disk space due to there being a physical copy of what in
the original repo was directly linked (one of svn's strong points).
This obviously doesn't make for a very exact mirror and isn't quite
what I was hoping for.

Note: the above was taken from a wiki and I don't entirely understand
the ins and outs of svk or the commands that I ran. I have an
understanding of distributed and non-distributed version control
systems, but I don't know much specifically about svk.

Any help would be appreciated. Other mirroring mechanisms would work
(as long as they're free) or other commands to run with svk would also
be great.

Thanks much.

-- 
Justin Patrin


More information about the svk-devel mailing list