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

aborting txn's

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2001-09-20 15:50:51 CEST


In trying to get pre-commit hooks working, I have run into an interesting
situation. In hooks.c if the precommit hook fails, then svn_fs_abort_txn
is called on the txn, then the error is returned.

At that point ra_local catches the error and tries to abort the txn again
(which fails). mod_dav_svn on the other hand, never aborts the txn.

My suggestion is that mod_dav_svn should abort the txn, and hooks.c should
leave it alone. Thoughts?

Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:42 2006

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.