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

Re: Creating a new SVN Projects from Directories in Another SVN Project

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Thu, 29 Jan 2009 14:06:59 -0600

No; if you want the project to move to its own separate repository,
then you must dump/filter/load like Hari explained in another email
in this thread.

On Jan 29, 2009, at 12:25, Jon Froehlich wrote:

> Hi David,
>
> Thanks for your response. Would this work if each of the projects in
> our file system have been created with svnadmin create <project name>.
> That is to say, I want to make
> "sub-directory-that's-becoming-a-project" into a:
>
> svnadmin create sub-directory-that's-becoming-a-project
>
> but maintain its history somehow.
>
> Jon
>
> On Thu, Jan 29, 2009 at 10:00 AM, David Weintraub
> <qazwart_at_gmail.com> wrote:
>> Why not simply do a "svn mv" to move this subdirectory to the
>> directory where projects are stored. For example:
>>
>> http://system/svn/projects/big_project/trunk/sub-directory-that's-
>> becoming-a-project
>>
>> $ svn mkdir http://system/svn/projects/new-project/trunk
>> $ svn mv http://system/svn/projects/big_project/trunk/sub-
>> directory-that's-becoming-a-project
>> svn mv http://system/svn/projects/new-project/trunk
>>
>> Something like that. You get the idea. Then, you can create an
>> svn:external to where this sub-directory use to live.
>>
>> This way, you keep the entire history.
>>
>> On Thu, Jan 29, 2009 at 12:48 PM, Jon Froehlich
>> <jonfroehlich_at_gmail.com> wrote:
>>> This might sound like a weird request but here's what I need to
>>> do: I
>>> have a SVN project that has been ongoing for about a year (so it has
>>> significant change history). A subdirectory within that project has
>>> now evolved into a larger project on its own. I would like to
>>> pull out
>>> this subdirectory and make a new SVN project around it and,
>>> hopefully,
>>> maintain its original change history.
>>>
>>> I know that I could simply create a new SVN project and commit the
>>> most recent version of this directory but then I would lose its
>>> change
>>> history. This is what I'll do if I don't hear of other
>>> recommendations.
>>>
>>> Thanks in advance,
>>>
>>> Jon
>>>
>>> --
>>> Jon Froehlich
>>> PhD Student
>>> Computer Science and Engineering
>>> University of Washington
>>> http://www.cs.washington.edu/homes/jfroehli
>>> http://sustain.cs.washington.edu/blog/
>>>
>>> ------------------------------------------------------
>>> http://subversion.tigris.org/ds/viewMessage.do?
>>> dsForumId=1065&dsMessageId=1069478
>>>
>>> To unsubscribe from this discussion, e-mail: [users-
>>> unsubscribe_at_subversion.tigris.org].
>>>
>>
>>
>>
>> --
>> --
>> David Weintraub
>> qazwart_at_gmail.com
>>
>
>
>
> --
> Jon Froehlich
> PhD Student
> Computer Science and Engineering
> University of Washington
> http://www.cs.washington.edu/homes/jfroehli
> http://sustain.cs.washington.edu/blog/
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?
> dsForumId=1065&dsMessageId=1069613
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1070017

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-29 21:08:00 CET

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.