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

RE: Working with Subversion in an unversioned environment

From: Duane Griffin <d.griffin_at_psenterprise.com>
Date: 2005-04-29 12:02:43 CEST

Hi Alexandre,

You could use a post-commit hook that updated the network share, if the
server has access to it. I posted a hook in this list a few days ago
that will upload changed files using scp. However I guess that is
probably not practical in your environment, with the server belonging to
a different organisation.

Another alternative would be to call subversion through a wrapper
script. The script would check for a commit and copy changed files
across after it succeeded. This wrapper-based approach seems to be a
common recommendation with SVN. On the other hand it would probably be a
fair bit of work unless you could find a similar wrapper and modify it.

Personally, I think I'd be inclined to set up a local repository with a
post-commit hook. You should be able to set it up to automatically
propogate your changes through to your company repository as well as
updating the network share, but I'm not sure how easy it would be.

Cheers,
Duane.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 29 12:05:17 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.