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

Re: Keeping up to Date Repository Shadows

From: Rydinare <rydinare_at_yahoo.com>
Date: 2004-11-04 21:04:09 CET

Thanks for the idea, but wait... does this cause a conflict? Say I put this in the post-commit. I then commit my changes. The hook script is called, an svn update is called in response... are any hook scripts tied to the update? I was hoping to get a copy that instead of being a "working" copy was just a mirror without all the unnecessary .svn directories. Let me know if this is possible and if there's a conflict. If not, I may stick with this unless a better option presents itself.
 
Thanks.

Mark <mark@msdhub.com> wrote:

I don't think that Rydinare is trying to sync two repositories, I think he's
merely trying to keep some folder up-to-date.

It should be as easy as doing a "svn up wc_path" in the post-commit hook.

-----Original Message-----
From: Peter Valdemar Mørch [mailto:swp5jhu02@sneakemail.com]
Sent: Thursday, November 04, 2004 9:47 AM
To: rydinare-at-yahoo.com |Lists|; Subversion Users
Subject: Re: Keeping up to Date Repository Shadows

Hi there,

Rydinare rydinare-at-yahoo.com |Lists| wrote:
> ... provide a shadow directory

Have you checked out svk?
http://svk.elixus.org/

Or the perl module: SVN::Mirror (at the heart(?) of svk)
http://search.cpan.org/~clkao/SVN-Mirror-0.48/lib/SVN/Mirror.pm

It is geared towards periodically "pull"ing changes, not on event-driven
"push", but you should be able to trigger the pull from a hook script...

Peter

-- 
Peter Valdemar Mørch
http://www.morch.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
			
---------------------------------
Do you Yahoo!?
 Check out the new Yahoo! Front Page.  www.yahoo.com/a
Received on Thu Nov 4 21:05:16 2004

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.