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

Renaming a checked out repository path

From: Torsten Landschoff <torsten_at_debian.org>
Date: 2005-04-01 14:40:06 CEST

Hi *,

As I am reorganizing some subversion repositories today I stumbled
across a "misfeature" in subversion. Basically I was splitting a trunk
directory from "trunk" to "trunk-2.1" and "trunk-2.2" for different
upstream version of the software I am working on.

Now I was curious what would happen to checked-out copies. After
renaming I got the following error message from svn update:

        svn: Cannot replace a directory from within

Well, I wondered why that is as the name of the WC is not linked to the
name in the repository. Anyway I tried

        cd ..
        svn update WC

with the same result.

While this is not a big deal in this case I wonder if svn shouldn't be
able to automatically do the required switch during the upgrade. Sending
every developer an email to switch is tedious work in case you have more
than a hand ful developers.

Thoughts?

Greetings

        Torsten

Received on Fri Apr 1 14:42:03 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.