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

Re: Move to a new layout

From: John Swartzentruber <jswartzen_at_despammed.com>
Date: 2005-01-10 17:30:43 CET

On 1/10/2005 3:08 AM Tom Mornini wrote:
> WARNING! PSEUDO CODE FOLLOWS:
>
> cd MyProject-working-copy
>
> svn mkdir trunk
> svn mkdir branches
> svn mkdir tags
>
> svn mv (everything less trunk/, branches/ and tags/) trunk

Maybe I'm inserting my own opinions into the original poster's question,
but I think this part is what he is asking about. It doesn't accept
wildcards and typing this command hundreds of times isn't really an
option. With some shell programming, it can be done, but the OP says he
doesn't have access to that. Why doesn't "svn move" accept wildcards?

>
> svn commit
>
> On Jan 9, 2005, at 8:38 PM, Brian Vallelunga wrote:
>
>> I'm trying to figure out how to move my existing project to a new layout
>> within Subversion. I'm using the svnserver on a Windows 2000 machine and
>> originally the repository was created with just one directory. I'd like
>> to move to a trunk/branches/tags structure.
>>
>> I'm a bit unsure of how to move things around. The Subversion book says
>> its easy to change layouts after the initial creation, but doesn't
>> specify how (this would be a good thing to add). I've searched the
>> mailing list and haven't found anything exactly like this (at least on
>> Windows).
>>
>> So right now everything is in /MyProject. I'd like to restructure and
>> have:
>>
>> /MyProject/trunk/
>> /MyProject/branches/
>> /MyProject/tags/
>>
>> Everything currently in /MyProject should be moved to the trunk
>> location. The one suggestion I saw used shell scripting, which I don't
>> really have access to being that this is on a Win2K server.
>>
>> Thanks,
>>
>> Brian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 10 17:51:12 2005

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.