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

Re: SVN access using 2 different URLs pointing to same Server by changing metadata

From: Eric Lee <pgeric_at_gmail.com>
Date: Fri, 29 Jan 2010 20:18:53 +0800

On Fri, Jan 29, 2010 at 7:58 PM, Vineet Priyank <vpriyank_at_juniper.net>wrote:

> Thanks Andy for your quick response.
>
> We want to access the svn(Basically check out) from URL1 and we want to
> update it with URL2, this is our basic requirement. Please suggest the
> possible solutions.
>
> Vineet

Did you have two or more member teams that need access to the repository
with a different for easy tracking down something ?

And yes, the svn switch --relocate shoudl work with your current situation.
I'am interesting what actually you want to archive !

Regards,
Eric,

Thanks,
> Vineet
>
> -----Original Message-----
> From: Andy Levy [mailto:andy.levy_at_gmail.com]
> Sent: Friday, January 29, 2010 5:14 PM
> To: Vineet Priyank
> Cc: users_at_subversion.apache.org
> Subject: Re: SVN access using 2 different URLs pointing to same Server by
> changing metadata
>
> On Fri, Jan 29, 2010 at 06:20, Vineet Priyank <vpriyank_at_juniper.net>
> wrote:
> >
> > I have two URLs with different credential pointing to the Same Server and
> > Same data. I have done svn check out for URL1 with crederntial1 and it
> got
> > checked out. After that I have changed the URL1 to URL2 using
> >
> > sed -i 's/string1/string2/g' * command(only 1 string difference is there
> > between 2 URLs) after going in .svn folder.
> >
> >
> >
> > Basically .snv/all-wcprops and .svn/entries files contains these URL
> entry.
> >
> >
> >
> > After that I tried to update the the folder using svn update foldername
> but
> > the following error comes.
> >
> >
> >
> > svn: Error processing command 'modify-wcprop' in 'junos'
> >
> > svn: Failed to load properties from disk
> >
> > svn: Malformed file
> >
> > Please provide some solution to move forward and do a svn update using
> URL2
> > and credential2.
>
> *NEVER* change the contents of the .svn directories. They are not
> meant to be manipulated by anything but the Subversion libraries.
>
> Credentials are not cached in the working copy, they are cached in the
> user's home directory, so if you need to use different credentials,
> specify the --username option on the command line.
>
> Why do you think you need to change the URL the WC was checked out
> from? Rather than trying to describe *how* you want to accomplish
> something, describe *what* you need the end result to be, and let the
> list suggest how to get there. I'm very unclear on what you're
> attempting to do here.
>
Received on 2010-01-29 13:19:31 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.