On Mar 10, 2006, at 15:27, Stefan Schwarzer wrote:
> due to security reasons I have to do checkouts/updates from my
> local repository to a distant (web) server, and not as usual, vice
> versa. Is this possible? I can't see how the command would look like.
So then your local machine is the Subversion "server" and the remote
web server is the Subversion "client." So, as in any client/server
relationship, the client needs to be able to initiate a connection to
the server. So you need to install and run either svnserve or apache2
or ssh on your local machine. Then you would ssh to the remote web
server. Then, on its shell, you would issue the "svn checkout"
command to check out part of the repository from your local machine.
local$ ssh remote
remote$ svn co https://local/svn/project/trunk
remote$ exit
local$
So the local machine's IP address, or at least the svnserve or
apache2 or ssh port, needs to be accessible from the remote machine.
If you're behind a firewall or router, that means you'll need to
configure some things. If you have a cable modem or DSL line or for
some other reason a dynamic IP, then that's something you'll have to
contend with as well, possibly making your life easier with a dynamic
DNS hostname of some sort.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 10 21:01:57 2006