[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: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Sat, 14 Nov 2009 03:08:46 -0600

On Nov 14, 2009, at 02:52, lalith prasad wrote:

> 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

The usage of the "svn switch" command is "svn switch URL [PATH]" where "PATH" is the local filesystem path to the working copy you want to switch (can be omitted if you're currently in that working copy), and "URL" is the new URL within the repository that you want the working copy to be switched to. You don't specify the old URL. (The working copy already knows it.)

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-14 10:09:41 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.