[svk-users] my svn branch moved, how do I handle this in svk

Kang-min Liu gugod at gugod.org
Wed Sep 26 13:15:00 EDT 2007


On Sep 26, 2007, at 11:58 PM, Michael Peters wrote:

> So I have a project with 2 main branches that I'm working on:
>
> /project/trunk
> /project/branches/featureA
>
> Trunk was recently moved to a branch and the featureA branch was  
> moved to trunk:
>
> svn mv /project/trunk /project/branches/old
> svn mv /project/branches/featureA /project/trunk
>
> How do I get my svk setup to recognize this so that my working copy  
> of the
> featureA branch now knows it's trunk and my wc of the old trunk now  
> knows it's a
> branch?

you need to cd into each wc and say 'svk switch'

cd wc-trunk/    ; svk switch /project/branches/old
cd wc-featureA/ ; svk switch /project/trunk

But I doubt if the merge point stored in svk:merge would still be  
valid after
this.

Cheers,
Kang-min Liu



More information about the svk-users mailing list