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

Re: "Export" to remote location - how?

From: Jan Eri <jan.eri_at_protector.no>
Date: 2005-06-25 00:42:54 CEST

rernst-lists@warflame.ca wrote:
> On Sunday 12 June 2005 08:38, Jan Eri wrote:
>>I am looking for a way to perform an EXPORT with my local svn binary
>>from a remote repository to a _remote_ location. As I understand the
>>syntax of the svn export command, it can only export to a local path.
>>
>>Why I want to do this?
>>I have a small group of Windows and Linux users doing PHP development
>>for the web-services of a society. Our svn repository is placed on a
>>linux server which is also our web-server where we want to EXPORT to.
>
> Have you tried using samba to share the destination web-server directory on
> the linux server so that it can be remote-mounted from both windows and linux
> boxen? You can then export to the local path and it will be pushed directly
> to the web server.
> Ryan Ernst

Using samba works fine. But I have started to consider another way that
may work even better in our case. I have discovered post-commit hooks,
and based on an idea I heard I am wondering if it is possible to do
something like this:

1. Have all my projects in separate directories in one svn repository
2. Establish my www test-sites as working copies of the repositories
3. Have a tag directory in every svn project directory
3. When creating a version that should be copied to the live site for
testing or production, copy it to the tag-directory and commit
4. Use post-commit to update the working copy of the relevant project

Is this possible? Any relevant sample code available?

regards,
Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jun 25 00:44:52 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.