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

Re: Give us instructions to create a new repository with the branch code of a old repository

From: Lalitha Prasad <lalith.prasad_at_scubetech.in>
Date: Sat, 14 Nov 2009 14:22:13 +0530

Hi,

I have already used *switch* command. But it doesn't worked for me.
*command i have used*
svn switch file:///home/user/svn/project/branches/branch1
file:///home/user/svn/project/trunk/
*Error i get*
svn: 'file:///home/user/svn/project/branches' is not a working copy
svn: Can't open file 'file:///home/user/svn/project/branches/.svn/entries':
No such file or directory

*Note:*

   - I have both svn repos and workspace in one system itself.
   - I have checked out my workspace from only the branch
   url(i.e.file:///home/user/svn/project/branches/branch1)

I have execute the above command from workspace. And all the trunk and
branch are committed to the svn. So, sure .svn entries are available in the
branch folder.

I am unable to understand why i am getting this error. What the wrong i am
doing?

On Sat, Nov 14, 2009 at 12:23 PM, Ryan Schmidt <
subversion-2009b_at_ryandesign.com> wrote:

>
> On Nov 14, 2009, at 00:40, Lalitha Prasad wrote:
>
> > Now with our new changes, we want to relocate our
> > • workspace1 to point to the new branch1
> > • workspace2 to point to the new branch2
> > • workspace3 to point to the trunk
> >
> > We have tried using the svn switch --relocate command to make the
> required location changes.
> > But we are getting an error "svn: Relocate can only change the repository
> part of an URL"
> >
> > How could we achieve this with out having checkouts of new workspaces.
>
> Use "svn switch" (without the --relocate parameter).
>
>
>

-- 
Thanks & Regards,
V. Lalitha Prasad,
Software Developer
Scube IT Solutions India Pvt. Ltd
www.scubian.com
lalith.prasad_at_scubian.com
(Cell) +91 9966282236
#4-1-319, 2nd Floor, Abids Road, Hyderabad - 01
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2417881
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-14 09:53:10 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.