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

Pre-commit transaction modification question

From: Brett Wooldridge <brettw_at_riseup.com>
Date: 2004-02-12 00:18:53 CET

I'm migrating from CVS to Subversion and am in the process of porting
my 'hooks'. I have a code-formatter (Jalopy), that I need to run as a
pre-commit hook, to format the code as it goes into the repository. Under
CVS this was rather trivial, but I'm having a hard time figuring out how to
do it under Subversion.

Given that Subversion is getting pretty widespread use, I'm guessing that
someone has already cracked this nut. I'm guessing, but am not sure, that
I need to use the SWIG interfaces (say, Python) to accomplish this. Is
this correct? Can someone point me to the interfaces I'll need? I've
figured
out how to get a copy of the code being commited -- and therefore I can
format it -- but I can't figure out how to update the source in the
transaction.

Any help, pointers, and advice is appreciated.

bw

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 12 00:19:10 2004

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

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