[svk-users]does mirror --relocate work?
Kevin Falcone
falcone at bestpractical.com
Fri Aug 31 16:27:19 EDT 2007
On Aug 29, 2007, at 11:32 PM, Tony Wu wrote:
> Hi all,
>
> I just tried the feature of relocating a mirrored depot but failed
> with following message.
>
> D:\temp>svk mirror -l
> Path Source
> ================================================================
> //m http://9.181.106.169/repos/m
>
> D:\temp>svk sw //m http://9.181.106.169/repos/branches/m
> path http://9.181.106.169/repos/branches/m is not a checkout path.
sw == switch == moving working copies, not mirrors.
I think you want
svk mi --relocate //m http://9.181.106.169/repos/branches/m,
I'm not sure what happens when you switch a mirror to a branch
with (what look like) different contents like that. I've mainly used
--relocate to switch from svn+ssh to https or to handle a dns rename
-kevin
>
>
> then I took a quick look at the src code in SVNRa.pm
>
> die loc( "Can't relocate: mirror subdirectory changed from %1 to %2.
> \n",
> $self->source_path, $source_path )
> unless $self->source_path eq $source_path;
>
> Does this line means that the error message above will be printed out
> if we have different url? But in my opinion, they must be different
> urls so that we want to relocate, right?
>
> --
> Tony Wu
> China Software Development Lab, IBM
> _______________________________________________
> svk-users mailing list
> svk-users at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/svk-users
>
More information about the svk-users
mailing list