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

RE: Subversion relocate

From: Adrian Marsh <Adrian.Marsh_at_ubiquisys.com>
Date: Wed, 16 Apr 2008 12:50:33 +0100

Running it within the working copy... a folder called "pbx"..

-----Original Message-----
From: Peter Kahn [mailto:citizenkahn_at_gmail.com]
Sent: 16 April 2008 12:40
To: Adrian Marsh
Subject: Re: Subversion relocate

oh on last thing

I didn't see a path to the local workspace at the end of your command.
If you ran it from within the workspace then you don't. Need the path
because '.' Is implied. If you ran it from outside. Of the workspace
dir then you need to add the workspace dir to the command.

Svn co oldurl workdir
Svn switch --relocate old url newurl workdir

On 4/16/08, Peter Kahn <citizenkahn_at_gmail.com> wrote:
> That sure looks correct. My guess would be a bad new url or a
> permissions problem on the workspace. Is the workspace on a local disk
> or mounted share? Does the user trying to do the switch own the files
> in the workspace?
>
> I'd try to see if you can check out to a new directory using the new
> url? If it doesn't work there either then the url is the problem.
>
> Other problems could be lack of auth to the new repository or using a
> wicked old client that doesn't support switch with relocate.
>
> The only problem I see is that I would expect any of these to fail
silently.
>
>
>
>
>
> On 4/16/08, Adrian Marsh <Adrian.Marsh_at_ubiquisys.com> wrote:
> > Hi,
> >
> >
> >
> > I'm testing moving subversion repositories around. TortoiseSVN seems
to
> > work fine, but I'm missing something for my linux clients.
> >
> >
> >
> > Old repos:
> >
> >
> >
> > [root_at_ubiq-dell27-cen pbx]# svn info
> >
> > Path: .
> >
> > URL: http://ubiq-serv2/svn/tools/pbx
> >
> > Repository Root: http://ubiq-serv2/svn/tools
> >
> >
> >
> > I run :
> >
> >
> >
> > svn switch --relocate http://ubiq-serv2/svn/docs/tools/pbx
> > https://testserv.ubiquisys.local/svn/tools/pbx
> >
> >
> >
> > Which gives no output (confirmation or failure). But the svn info
output
> > still shows the repository URL as pointing to ubiq-serv2
> >
> >
> >
> > I read the example at http://svnbook.red-bean.com/en/1.0/re27.html,
but
> > don't see what I'm missing.
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Adrian
> >
> >
> >
> >
>
>
> --
> Peter Kahn
> citizenkahn_at_gmail.com
> pkahnpie1_at_AIM
> http://citizenkahn.myplaxo.com
> Awareness - Intention - Action
>

-- 
Peter Kahn
citizenkahn_at_gmail.com
pkahnpie1_at_AIM
http://citizenkahn.myplaxo.com
Awareness - Intention - Action
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-16 14:01:31 CEST

This is an archived mail posted to the Subversion Users mailing list.