You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by cm...@techfak.uni-bielefeld.de on 2008/01/15 11:26:00 UTC

Change ssh user

Hi everyone,

we're using an account several persons share. In this common account's
home dir lies an svn working copy. The repository belonging to this
working copy is located on a server which is accessed via ssh. On this
server each of the individual persons has his or her proper account.

Now the problem is: The ssh URL in the .svn/entries file keeps the
username of the person who checked out the working copy
initially. This means nobody else can access the
repository. --username doesn't seem to work, neither does svn
switch. Is there any elegant way to change the ssh username to use
(writing a script to recursively change the .svn/entries files doesn't
count as elegant by my definition).

Many thanks in advance and kind regards,

	Christian Mertes


Re: Change ssh user

Posted by cm...@techfak.uni-bielefeld.de.
Hi,

for anyone else who must used such a "broken working model", I'd like
to share a little script I wrote.

Kind regards,

	Christian Mertes


Re: Change ssh user

Posted by cm...@techfak.uni-bielefeld.de.
On Wed, Jan 16, 2008 at 07:00:33AM -0800, Joseph Mocker wrote:
> Did you try 'svn switch --relocate' maybe?

No, I didn't but it works. Thanks a lot!

> But I guess the question is why doesn't each user have their own working 
> copy in the first place? Seems like your working model is a little broken.

Well, it's a little inelegant but then there is no elegant
solution. It's not a development machine but one to conduct
experiments. Yet several people want to use it, want to update the
software and don't want to keep one local copy each, which they have
to compile every time, too.

But anyway, thanks a lot for pointing out a way to do it, kind regards,

	Christian Mertes


Re: Change ssh user

Posted by Joseph Mocker <mo...@fakebelieve.org>.
Did you try 'svn switch --relocate' maybe?

But I guess the question is why doesn't each user have their own working 
copy in the first place? Seems like your working model is a little broken.

  --joe

cmertes@techfak.uni-bielefeld.de wrote:
> Hi everyone,
>
> we're using an account several persons share. In this common account's
> home dir lies an svn working copy. The repository belonging to this
> working copy is located on a server which is accessed via ssh. On this
> server each of the individual persons has his or her proper account.
>
> Now the problem is: The ssh URL in the .svn/entries file keeps the
> username of the person who checked out the working copy
> initially. This means nobody else can access the
> repository. --username doesn't seem to work, neither does svn
> switch. Is there any elegant way to change the ssh username to use
> (writing a script to recursively change the .svn/entries files doesn't
> count as elegant by my definition).
>
> Many thanks in advance and kind regards,
>
> 	Christian Mertes
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org