[svk-users]does mirror --relocate work?

Tony Wu wuyuehao at gmail.com
Mon Sep 3 00:53:07 EDT 2007


Hi kevin,

sorry I posted the incorrect cmd line.
it should be

C:\Documents and Settings\Administrator>svk mirror --relocate //m
http://9.181.106.169/repos/branches/m
Can't relocate: mirror subdirectory changed from /m to /branches/m.

what can I do for this status?

On 9/1/07, Kevin Falcone <falcone at bestpractical.com> wrote:
>
> 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
> >
>
> _______________________________________________
> svk-users mailing list
> svk-users at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/svk-users
>


-- 
Tony Wu
China Software Development Lab, IBM


More information about the svk-users mailing list