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

Re: Inverting cvs2svn's trunk/<project> to <project>/trunk

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-12-31 10:39:18 CET

On Dec 31, 2007, at 02:18, Peter Connolly wrote:

> On Dec 30, 2007 7:15 PM, Sohail Somani wrote:
>
>> On Sun, 30 Dec 2007 19:00:30 -0800, Peter Connolly wrote:
>>
>>> I had a CVS repository that I converted to Subversion using
>>> cvs2svn. I
>>> now have a repository whose directory structure is:
>>>
>> [snip]
>>>
>>> Is it even worth thinking about inverting my repository structure
>>> given
>>> that there are problems with a "true rename?"
>>
>> It shouldn't really be a big deal to just svn mkdir $URL/project1;
>> svn cp
>> $URL/trunk/project1 $URL/project1/trunk
>>
>> Sure SVN doesn't have true rename but it isn't a problem for this
>> specific case.
>
> So, without a true rename, wouldn't all the branches and tags be lost
> when the trunk was copied?

I don't really understand the question... nothing will be lost.
History will be preserved. There is no problem. The branches and tags
are just directories, just like the trunk is a directory. They aren't
lost unless you deliberately "svn rm" them, and even then they're not
lost; they're just removed from the HEAD revision. They're still
there in the older revisions in the history of the repository and can
still be retrieved.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 31 10:40:19 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.