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

Re: post-commit hook questions

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-10-15 00:28:23 CEST

Noel Yap <yap_noel@yahoo.com> writes:
> I think I see. If I want it to be inside the
> transaction, it already is, but do you know if it can
> deadlock itself? If I don't want it outside the
> transaction, I can fork off another process. Is that
> right?

No, it's outside the txn. Use pre-commit to do something before the
txn is committed. (See also start-commit, for an even earlier hook).

> upon creation of LABEL. The problem is that both
> LABEL and branch look alike to Subversion but they
> should be treated differently by the post-commit hook.

They don't need to look alike to the post-commit hook, though; they
have different paths :-).

> Maybe for now I'll just use naming conventions?

Yes, I think so.

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 15 00:56:42 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.