You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Vicente E. Cano" <ca...@iit.edu> on 2005/12/30 03:43:55 UTC

Sharing a working copy when using svn+ssh

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.

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

Re: Sharing a working copy when using svn+ssh

Posted by Duncan Murdoch <mu...@stats.uwo.ca>.
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