You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Brian Erickson <er...@BAUERCONTROLS.com> on 2006/10/23 18:25:35 UTC

Networked respository

Hi all,
 
I'm a new user to Subversion and am confused about how to access the
respository when it is not on my local computer.  
 
The repository is on a machine named snidely with a share named whiplash
(we have a Rocky & Bullwinkle theme to our network)
 
'Snidely' and most of the client machines are running Windows XP service
pack 2.
 
I can map a drive using the net use command: net use s:
\\snidely\whiplash
Then, the command svn list file:///s:/svn/pcs42 lists the branches,
tags, and trunk folders.
However, I'd really like to do this without have to define a network
drive.  Is this possbile?
 
If I use the command: svn list file:///snidely/whiplash/svn/pcs42
I get the following errors...
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///snidely/whiplash/svn/pcs42'
 
 
Brian
 
 

Re: Networked respository

Posted by Erik Huelsmann <eh...@gmail.com>.
On 10/24/06, Andreas Schweigstill <an...@schweigstill.de> wrote:
> Dear Brian!
>
> Brian Erickson schrieb:
> > However, I'd really like to do this without have to define a network
> > drive.  Is this possbile?
>
> Yes, of course. You just have to follow the preferred way of using a
> Subversion repository. For this you have to install a Subversion server
> on the machine holding the repositories ("snidely"). No network share
> has to be created resp. mounted by the clients.
>
> The server can be based on a stand-alone server process (svnserve) or
> on an Apache HTTP server. svnserve uses only one TCP port (default:
> 3690). Both don't depend on any Microsoft-like stuff (SMB, CIFS, ...).

Should you however want to stay with the 'file:' protocol, you can use
the file://<server>/<share> syntax in combination with Windows share
and a FSFS repository. That does however assume you have all
prerequisites to run your hookscripts on all systems able to access
the share.

HTH.

bye,

Erik.

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

Re: Networked respository

Posted by Andreas Schweigstill <an...@schweigstill.de>.
Dear Brian!

Brian Erickson schrieb:
> However, I'd really like to do this without have to define a network 
> drive.  Is this possbile?

Yes, of course. You just have to follow the preferred way of using a
Subversion repository. For this you have to install a Subversion server
on the machine holding the repositories ("snidely"). No network share
has to be created resp. mounted by the clients.

The server can be based on a stand-alone server process (svnserve) or
on an Apache HTTP server. svnserve uses only one TCP port (default:
3690). Both don't depend on any Microsoft-like stuff (SMB, CIFS, ...).

Before you ask how to install such a server you have to read the
Subversion documentation. And there have been LOTS of discussions if
the svnserve or Apache based server is better. Short answer: It depends
on your requirements. Apache allow more detailed access rights and user
authentication against LDAP, svnserve is faster and has very simple
configuration files with cleartext passwords.

For your first experiments I recommend svnserve since you are
independent of a properly configured Apache web server.

With best regards
Andreas

-- 
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/

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


Re: Networked respository

Posted by Erik Huelsmann <eh...@gmail.com>.
On 10/23/06, Brian Erickson <er...@bauercontrols.com> wrote:
>
>
> Hi all,
>
> I'm a new user to Subversion and am confused about how to access the
> respository when it is not on my local computer.
>
> The repository is on a machine named snidely with a share named whiplash (we
> have a Rocky & Bullwinkle theme to our network)
>
> 'Snidely' and most of the client machines are running Windows XP service
> pack 2.
>
> I can map a drive using the net use command: net use s: \\snidely\whiplash
> Then, the command svn list file:///s:/svn/pcs42 lists the branches, tags,
> and trunk folders.
> However, I'd really like to do this without have to define a network drive.
> Is this possbile?
>
> If I use the command: svn list
> file:///snidely/whiplash/svn/pcs42
> I get the following errors...
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository
> 'file:///snidely/whiplash/svn/pcs42'
>

did you try

svn list file://snidely/whiplash/svn/pcs42

?

bye,

Erik.

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