You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Niko Sams <ns...@vivid-planet.com> on 2005/06/16 11:40:35 UTC

update in post-commit only the commited files

Hello,

We have a relatively large repository and i would like to do a update on a
local folder on every commit.

this can be done very easy using a post-commit-hook and a
svn update /dir/where_my_wc_is

but this can take several minutes and the server will slow down. (and i'm
sure there will be problems when several commits within one minute are
done)

so is there a possibility to update only the path that was commited?
or is there a other/better solution?

tanks
niko


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: update in post-commit only the commited files

Posted by Ben Collins-Sussman <su...@collab.net>.
On Jun 16, 2005, at 8:03 AM, Niko Sams wrote:

>> Instead of a post-commit hook, have a scheduled cron job update the
>> working copy once per hour?
>>
> yes, currently i run a update during the night...
> Running it every hour "during worktime" is bad as it would slow  
> down the
> server.
>

Then perhaps the repository and working copy should be on separate  
machines, and the hourly 'svn update' should run over the network.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: update in post-commit only the commited files

Posted by Niko Sams <ns...@vivid-planet.com>.
> Instead of a post-commit hook, have a scheduled cron job update the
> working copy once per hour?
yes, currently i run a update during the night...
Running it every hour "during worktime" is bad as it would slow down the
server.

...so it takes one day till commits are updated - which i wanted to
improve...


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: update in post-commit only the commited files

Posted by Ben Collins-Sussman <su...@collab.net>.
On Jun 16, 2005, at 6:40 AM, Niko Sams wrote:

> Hello,
>
> We have a relatively large repository and i would like to do a  
> update on a
> local folder on every commit.
>
> this can be done very easy using a post-commit-hook and a
> svn update /dir/where_my_wc_is
>
> but this can take several minutes and the server will slow down.  
> (and i'm
> sure there will be problems when several commits within one minute are
> done)
>
> so is there a possibility to update only the path that was commited?
> or is there a other/better solution?

Instead of a post-commit hook, have a scheduled cron job update the  
working copy once per hour?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org