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

Re: TortoiseSVN on the shared drive to be used by multiple users

From: frame <xsli2_at_yahoo.com>
Date: Fri, 5 Dec 2014 12:17:31 -0800 (PST)

Actually I got it working. Sorry, yesterday I used incorrect command
options to set user and password. Below is part of email I sent to my
office mates on how to use it:

On anybody's Cygin command line, I just do:
*svn ls --username my_svn_account_username --password
my_svn_account_password URL_OF_SVN_REPO*

It creates the log in credential file in the directory
*%AppData%/Roaming/Subversion/auth/svn.simple/*

In PC DOS window, the command "*echo %APPDATA%*" (case insensitive) will
show which directory %APPDATA% refers to on your own PC. Each PC is
different.

The bottom line is that since then, you will never need to enter your
username and password anymore when using *svn* command, just like on
Linux--the credential has been saved.

Now, in Cygwin, you can use subversion just like you use it on Linux
terminal. (TortoiseSVN has GUI features which are available when right
mouse clicking in Window Explorer. You won't have this feature by using
centralized S drive subversion since you don't really have TortoiseSVN
installed on your PC. If you really need the GUI features, you need to ask
HOT-LINE to install it on your PC. Then you don't need the S drive version).

On Friday, December 5, 2014 3:09:16 PM UTC-5, Ryan Schmidt wrote:
>
>
> On Dec 4, 2014, at 10:42 AM, frame wrote:
>
> > In our office, each of us has his own PC. Cygwin is installed on each
> PC. Every PC can access the shared S drive.
> >
> > I have installed TortoiseSVN on my own PC. I am thinking doing a
> short-cut: no need to install TortoiseSVN on everybody's PC. I just copied
> my C:/Program Files/TortoiseSVN to the S drive. Now everybody in Cygwin on
> his PC can have 'svn' command(svn is an alias now to avoid typing the long
> path). For example, "svn --version" works on everybody's Cygwin.
> >
> > The problem is authentication. On their PC Window Explorer, mouse right
> click won't show those SVN options in the menu. On their Cygwin, I typed
> this command:
> >
> > svn ls username my_username --password my_secret_pswd URL
> >
> > prompting me to enter password for the user 'my_username', I did and it
> hangs there forever.
> >
> > I checked his PC %AppData%/Roaming/Subversion/auth/svn.simple. The
> directory has been created on his own drive. But it is always empty.
> >
> > I even cleaned my own svn.simple directory, re-run TortoiseSVN gui
> again, this time I entered his username and password so that a credential
> file was created in my svn.simple/. Then I moved this file(containing his
> credentials) to his own empty svn.simple/, then on his Cygwin I tried "svn
> ls URL". It still didn't work.
> >
> > Is that possible for me to set up such a thing so that everybody can use
> the shared svn on the S drive, no need to install his own?
>
> I don't know if TortoiseSVN can be used that way. You could ask on the
> TortoiseSVN mailing list.
>
>
>
Received on 2014-12-05 21:18:48 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.