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

Re: Existing Repos layout change - how badly will this break stuff ?

From: Richard Shea <rshea_at_thecubagroup.com>
Date: 2007-12-19 22:12:39 CET

Thanks to everyone who replied to my question - I'll give it a go -
regards - Richard.

On Tue, 18 Dec 2007 08:27:39 -0600, "Toby Thain" <toby@smartgames.ca>
said:
>
> On 18-Dec-07, at 3:58 AM, Richard Shea wrote:
>
> > I want to change my repository layout but before I do I'd like some
> > advice on how/whether it will break things ...
> >
> > I have a repos like this ..
> >
> > /trunk
> > /trunk/foo.c
> > /trunk/bar.c
> > /branches
> > /tags
> >
> > ... and I want to change it to this ...
> >
> > /trunk
> > /trunk/appname/
> > /trunk/appname/foo.c
> > /trunk/appname/bar.c
> > /trunk/appdb/
> > /trunk/appdb/insert.sql
> > /trunk/appdb/delete.sql
> > /branches
> > /tags
> >
> > ... If I were to make that change and in the future I go looking at
> > changes made to foo.c is the repos layout change described going to
> > 'break' the chain at the point the layout change was made ?
>
> As Ryan says, you can do this in a way where history is kept.
> However, if you're new to Subversion you may not realise the correct
> way. I have certainly seen people use the 'wrong' way and lose
> history (by deleting then adding in new location).
>
> The way that I would do it is, in working copy trunk/ dir:
> * svn mkdir appname appdb
> * svn move foo.c appname
> * svn move bar.c appname
> * svn commit
>
> Stefan's suggestion of testing first in a sandbox repo, to gain
> confidence about what is going on, is a great idea.
>
> --Toby
>
> >
> > If so is there some way of getting around that problem ?
> >
> > I thought about creating a brand new repos and (in some way that I
> > don't
> > know of) importing the existing repos into it.
> >
> > Any advice welcomed.
> >
> > thanks
> >
> > Richard.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The Cuba Group
PO Box 1864
Wellington
New Zealand

PH +64 4 496 5205
MO +64 21 976 683
FX +64 4 496 5209
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 19 22:18:56 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.