[svk-devel] How can I re-mirror and maintain my local branches?

Jonathan Rockway jon at jrock.us
Fri Jan 12 13:35:13 EST 2007


Stig Brautaset wrote:
> Re-mirror, then merge the changes from your previous local branch to a
> sub-path in the new mirror. There are many ways you can achieve this --
> you may uses 'svk patch', for example.

You can also do a baseless smerge:

svk mirror //mirror/myrepo-new https://.../
svk copy //mirror/myrepo-new/whatever //local/whatever
svk smerge -B //local/whatever-old //local/whatever -m 'migrating from
old mirror'
svk co //local/whatever
svk push/pull/etc.

At this point, you can:
svk mirror --detach //mirror/myrepo-old
svk delete //mirror/myrepo-old
svk delete //local/whatever-old
etc.


-- 
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;


More information about the svk-devel mailing list