[Frugalware-darcs] git-hooks: don't ignore other hooks if one fails

VMiklos vmiklos at frugalware.org
Mon Jun 25 13:04:07 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=git-hooks;a=darcs_commitdiff;h=20070615164840-e2957-b0dae3e27b94831ddf7435c640de174752f42a4e.gz;

[don't ignore other hooks if one fails
VMiklos <vmiklos at frugalware.org>**20070615164840] {
hunk ./darcs-hooks.py 81
-		hook = Hook(config.config.dir, config.config.latestfile, plugin.callback)
+		try:
+			hook = Hook(config.config.dir, config.config.latestfile, plugin.callback)
+		except Exception, s:
+			print "Error, probably connect to CIA timed out."
}


More information about the Frugalware-darcs mailing list