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

Re: Sharing a working copy when using svn+ssh

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2005-12-30 12:53:56 CET

Vicente E. Cano wrote:
> Hi,
>
> I would like to share my working copy with another developer. We are
> working on a website and are using Subversion to manage files. I
> checkout the repository using svn+ssh into the web document root and the
> other developer adds and makes changes to files. The only problem is
> that when he tries to commit the repository, svn asks him for _my_ ssh
> password. I read on the book "Version Control with Subversion" that this
> could be accomplised using SSH's 'authorized_key' file.

Take a look at what svn info shows you about the URL. It might be
something like this:

URL: svn+ssh://server/path

or like this:

URL: svn+ssh://user@server/path

If it's the former, the username defaults to the current logged in
username, or can be specified with the --username option. In the latter
case the username is fixed.

So if you want to share a working copy, check it out without a username.
If you want separate working copies, each should use his own username.

I have noticed that TortoiseSVN doesn't like the first format, but there
may be a way to make it happy.

Duncan Murdoch
>
> I would like to know if there is another way of accomplishing this, for
> example, by using an argument when invoking 'svn ci' that specifies the
> user who is submitting the repository.
>
> Thanks,
> Vicente
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 30 12:55:17 2005

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.