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

RE: mod_dav_svn WC auto-update ... bug?

From: Dassi, Nasser <NDassi_at_141xm.com>
Date: 2005-01-17 20:39:41 CET

Thank you, Ben, for your clarification :o)

Yes, I feared that the more I write, the more confusion :o)

[snip]
I'm guessing here. It sounds like what you want is to be able to
change a repository through Autoversioning PUT commands, and then have
some other working copy (somewhere else) automatically receive those
changes.

If so, then that's a very common thing, and it has nothing to do with
autoversioning at all. Just install a post-commit hook script that
runs 'svn up' on the working copy. I do that myself, as a way of
keeping my ~/public_html/ website up-to-date after every commit I make.
[/snip]

This is *exactly* what I want to accomplish.

My first confusion was that a PUT to a "network share" would actually
update the filesystem target (just like mod_dav/mod_dav_fs) and then --
as second step -- update the SVN Repository. That, it seems, is not the
case.

Back to your "post-commit hook script"... Where would I accomplish this?
Would I have to compile my own SVN build with extra commands? Or, is
there an extra Apache module that supports this sort of functionality?

Pls keep in mind that the repositories and apache server and working
copies are *all* on a remote server. I am looking to access them solely
via WebDAV shares.

PS: The Apache configs were set to:

Listen 81
DocumentRoot "d:\htdocs\webdav\"
<Location />
  DAV on
  {Auth stuff}
</Location>

AND...

Listen 81
DocumentRoot "d:\htdocs\webdav\"
<Location />
  DAV svn
  SVNPath "d:\repos\1"
  SVNAutoversioning on
  {Auth stuff}
</Location>

... Thanks.

- nasser

Nasser Dassi
Sr. Technical Programmer
=========================================
E: ndassi@141xm.com
O: 212-297-8045
M: 917-747-6326
F: 212-297-8006
=========================================

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 17 20:43:05 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.