You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kevin Old <ke...@gmail.com> on 2005/09/02 19:47:21 UTC
Moving repository into correct layout
Hello everyone,
I created a repository under /svnreps/IVR and when I did my initial
import, I failed to make the directory structure trunk/tags/branches
and put my actual data (in a folder called IVR) under trunk.
So, now I'd like to make a tag and don't have a tags folder for it.
Any ideas how I'd be able to get my repository straightened out?
Can I do this with an existing repository? If not, how do I get
certain parts (the IVR directory) into the new repository?
Any help is greatly appreciated!
--
Kevin Old
kevinold@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Moving repository into correct layout
Posted by Ben Collins-Sussman <su...@collab.net>.
On Sep 2, 2005, at 3:02 PM, Kevin Old wrote:
>
> But then when I tried to merge it into itself it didn't work:
>
> [root@mis2 IVR]# svn mv file:///svnrep/IVR file:///svnrep/trunk/IVR
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 'file:///svnrep'
>
> Didn't work this way either:
>
> [root@mis2 IVR]# svn mv file:///svnrep/IVR file:///svnrep/IVR/trunk/
> IVR
> svn: Cannot move URL 'file:///svnrep/IVR' into itself
>
> Any ideas what I'm doing wrong?
Checkout the the IVR directory (or 'svn up' if you already have a
working copy), then 'svn mv' every object in the root directory into
the trunk/ directory. Then 'svn commit'.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Moving repository into correct layout
Posted by Kevin Old <ke...@gmail.com>.
On 9/2/05, Kevin Old <ke...@gmail.com> wrote:
> On 9/2/05, William Nagel <bi...@stagelogic.com> wrote:
> > On Sep 2, 2005, at 2:47 PM, Kevin Old wrote:
> [snip]
> > > Any ideas how I'd be able to get my repository straightened out?
> >
> > svn mkdir ROOT_URL/trunk
> > svn mkdir ROOT_URL/tags
> > svn mkdir ROOT_URL/branches
> > svn mv ROOT_URL/IVR ROOT_URL/trunk/IVR
> >
> > That should do it.
>
> Hi Bill,
>
> Well the first commands worked:
>
> [root@mis2 IVR]# svn mkdir file:///svnrep/IVR/trunk
>
> Committed revision 56.
> [root@mis2 IVR]# svn mkdir file:///svnrep/IVR/tags
>
> Committed revision 57.
> [root@mis2 IVR]# svn mkdir file:///svnrep/IVR/branches
>
> Committed revision 58.
>
>
> But then when I tried to merge it into itself it didn't work:
>
> [root@mis2 IVR]# svn mv file:///svnrep/IVR file:///svnrep/trunk/IVR
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 'file:///svnrep'
>
> Didn't work this way either:
>
> [root@mis2 IVR]# svn mv file:///svnrep/IVR file:///svnrep/IVR/trunk/IVR
> svn: Cannot move URL 'file:///svnrep/IVR' into itself
>
> Any ideas what I'm doing wrong?
I believe I found the answer to my question here:
http://svn.haxx.se/users/archive-2004-03/2230.shtml
Thanks for your help!
--
Kevin Old
kevinold@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Moving repository into correct layout
Posted by Kevin Old <ke...@gmail.com>.
On 9/2/05, William Nagel <bi...@stagelogic.com> wrote:
> On Sep 2, 2005, at 2:47 PM, Kevin Old wrote:
[snip]
> > Any ideas how I'd be able to get my repository straightened out?
>
> svn mkdir ROOT_URL/trunk
> svn mkdir ROOT_URL/tags
> svn mkdir ROOT_URL/branches
> svn mv ROOT_URL/IVR ROOT_URL/trunk/IVR
>
> That should do it.
Hi Bill,
Well the first commands worked:
[root@mis2 IVR]# svn mkdir file:///svnrep/IVR/trunk
Committed revision 56.
[root@mis2 IVR]# svn mkdir file:///svnrep/IVR/tags
Committed revision 57.
[root@mis2 IVR]# svn mkdir file:///svnrep/IVR/branches
Committed revision 58.
But then when I tried to merge it into itself it didn't work:
[root@mis2 IVR]# svn mv file:///svnrep/IVR file:///svnrep/trunk/IVR
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///svnrep'
Didn't work this way either:
[root@mis2 IVR]# svn mv file:///svnrep/IVR file:///svnrep/IVR/trunk/IVR
svn: Cannot move URL 'file:///svnrep/IVR' into itself
Any ideas what I'm doing wrong?
Thanks,
Kevin
--
Kevin Old
kevinold@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Moving repository into correct layout
Posted by William Nagel <bi...@stagelogic.com>.
On Sep 2, 2005, at 2:47 PM, Kevin Old wrote:
> Hello everyone,
>
> I created a repository under /svnreps/IVR and when I did my initial
> import, I failed to make the directory structure trunk/tags/branches
> and put my actual data (in a folder called IVR) under trunk.
>
> So, now I'd like to make a tag and don't have a tags folder for it.
>
> Any ideas how I'd be able to get my repository straightened out?
svn mkdir ROOT_URL/trunk
svn mkdir ROOT_URL/tags
svn mkdir ROOT_URL/branches
svn mv ROOT_URL/IVR ROOT_URL/trunk/IVR
That should do it.
-Bill
>
> Can I do this with an existing repository? If not, how do I get
> certain parts (the IVR directory) into the new repository?
>
> Any help is greatly appreciated!
> --
> Kevin Old
> kevinold@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org