[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Reoganizing svn structure and error "shares no common ancestry"

From: Buddy Butterfly <buddy.butterfly_at_web.de>
Date: Mon, 16 Mar 2015 11:18:00 +0100

Hi,

finally we would like to restructure our badly structured svn repo.
Over time a lot of stuff flew into this repo. I have used kdesvn for
moving the trees online in the repo. kdesvn does a copy and delete
when moving. I have also tried to use a svn move. Steps were as follows:

1. Created a new repo path to the project.
2. Created branches, tags and trunk below ist.
3. Moved (like described above) original project below the new trunk.
4. Similar like 3. for branches with creating the branches/<branch> and
   moving the old branches to the new ones.
5. Checked out the new trunk.
6. Tried to switch to one of the new branches.

Step 6. always give the error switching not possible "shares no common
ancestry".

The moving like described above is very convenient and would allow the reorg
in an acceptable time frame. How is it possible to do this and create or
manipulate the history such that a common ancester will be created?

Do you propose another workflow to acomplish this in an easy way?

Thanks a lot and cheers,
Buddy
Received on 2015-03-16 11:27:26 CET

This is an archived mail posted to the Subversion Users mailing list.