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

trouble with repository restructure

From: Josh Blair <josh.blair_at_gmail.com>
Date: 2007-07-03 00:57:37 CEST

Hello,

I am trying to restructure part of one of my repositories. I read through
"Pragmatic SVN" and "Practical SVN" books but never found examples that fit
my requirements.

Currently the structure looks like this:

C:\work>svn ls -vR svn://svn/repos/cXMLImportLib/trunk
     14 josh 6641 Jun 01 19:01 ASN.cs
     14 josh 11206 Jun 01 19:01 ConfirmationRequestImporter.cs
     14 josh 5744 Jun 01 19:01 ImportManager.cs
     21 josh Jun 02 11:40 Properties/
     21 josh 1568 Jun 02 11:40 Properties/AssemblyInfo.cs
     17 josh 2137 Jun 01 19:20 cXMLImportLib.csproj
     14 josh 914 Jun 01 19:01 cXMLImportLib.sln

I would like to move everything that is in the
svn://svn/repos/cXMLImportLib/trunk
into the svn://svn/repos/cXMLImportLib/trunk/src directory.

This obviously doesn't work:

C:\work>svn move svn://svn/repos/cXMLImportLib/trunk
svn://svn/repos/cXMLImportLib/trunk/src
svn: Cannot move URL 'svn://svn/repos/cXMLImportLib/trunk' into itself

I tried using TortoiseSVN (which I don't know much about yet) and when I
move things, they appear to no longer be under source control. I just drug
each item into the new path. Is there a "proper" way to achieve this in
TortoiseSVN? I know this isn't a TortoiseSVN mailing list.

I also tried using svn mv to move individual files and folders but I ran
into the situation where I get this:

C:\work\cxmlimportlib\trunk>svn mv Properties src\Properties
A src\Properties
D Properties\AssemblyInfo.cs
D Properties

To me this looks like I am about to loose the AssemblyInfo.cs file in the
next commit after this move...but I went ahead and ran a svn ci and it looks
like everything was committed.

Is there a better way to achieve this kind of repository restructuring?

Thanks for your insight,

-- 
Josh Blair
Golden, CO
Received on Tue Jul 3 00:57:37 2007

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

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