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

Post commit hooks occuring too fast...

From: François Beausoleil <fbeausoleil_at_ftml.net>
Date: 2005-05-16 17:37:14 CEST

Hi !

I'm running 1.2.0-rc4 on WinXP Pro SP2, and my post-commit hook is
firing too fast for the machine to keep up...

I get this in my error.log:
[Mon May 16 11:30:32 2005] [warn] [client 66.129.151.213] The PUT was
successful, but there was a problem automatically checking in the
resource or its parent collection. [500, #0]
[Mon May 16 11:30:32 2005] [warn] [client 66.129.151.213] Unable to
auto-checkin resource
/repos/!svn/wrk/5dfeb73e-593a-4946-a84f-ef9802c5f9cd/customers/graphiq/WizBeautyCare/trunk/wwwroot/en/images/diapo_t_ranch.gif.
  [500, #0]
[Mon May 16 11:30:32 2005] [warn] [client 66.129.151.213] An error
occurred while committing the transaction. [409, #165007]
[Mon May 16 11:30:32 2005] [warn] [client 66.129.151.213] Commit
succeeded, but post-commit hook failed [409, #165007]

My post-commit hook looks like this:
start %1\hooks\dump-rev.bat %1 %2 C:\dumps\repos

And, dump-rev.bat looks like:
@echo off
mkdir %3
%SVN_HOME%\bin\svnadmin.exe dump --quiet --incremental --deltas
--revision %2 %1 | bzip2 -q9 >%3\%2.dump.bz2

Questions:
1. Are the errors occuring because post-commit is firing too fast ?
2. What can I do to prevent that ?

The commits are occuring because my web designers are using Dreamweaver,
and they are checking-in (svn ci) multiple files, and DMX is checking in
each file as an individual commit.

Thanks for any tips or pointers !
François

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 16 17:36:53 2005

This is an archived mail posted to the Subversion Users mailing list.