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

Re: best way to add /trunk /tag /branch to existing repository

From: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Wed, 9 Sep 2009 16:09:26 +0400

Greetings, Pat Farrell!

>> Just for example:
>> svn move --parents http://yoursvnhost/bbook/fnfapp http://yoursvnhost/bbook/fnfapp/trunk
>> Actually, there could be a problem moving a directory into subdirectory of
>> itself... I'll leave it to you to find a way to resolve it.

> Any hints? Your use of "probably" is a bit unsettling. Clearly I could
> do something like move it to a whole new project, then recreate the
> project with the new structure, and move it back.

:) Subversion is a file system. About all regular rules to work with
filesystem is applied, caveats too.

> Not sure if that works with SVN, but its how I do similar stuff in general

Ryan probably gave you easier way to do this, but actual choice depends on
the size of repository. If it's small enough, you can follow his advice
without a second thought.

>> Mmm... and from second reading of your message, i strongly advice you to think
>> twice about the future directory structure in the light of the future of a
>> whole project. Is it a single project or multiple ones?

> That depends on what a project is defined as. The old what the
> definition of "is" is.

It's up to you, if you do not want me to be pedantic :)
For me, the "project" is a collection of stuff that works together for
intended purpose, minus shared libraries, each of which could be separate
project or a part of larger framework.

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 09.09.2009, <16:02>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2392846
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-09 14:11:03 CEST

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.