[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: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 29 Jan 2009 13:00:50 -0500

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
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1069509
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-29 19:01:43 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.