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

Automatic pretty-print

From: Zeus Gómez Marmolejo <zeus22_at_casal.upc.es>
Date: 2004-08-18 19:36:30 CEST

Hi all,

I'm using subversion since no much time and I think it's great, much more than
cvs.

I would like to ask one question. I want all the source .c files in my
repository to be well pretty-printed, all conforming a common C programming
style. But the problem is that the programmers don't do the job well, they
forget to follow the rules and so...

The ideal think could be at the pre-commit hook execute the pretty printer for
all the .c source files so that in the repository the files all are well
stored. Also it would be desirable to check C syntax so all files that are in
the repository complile all. But I've seen the comments on the pre-commit
template hook and explicitly reports that the script must not change the
transaction. So is there a way to transform (pretty-print) the source files
before committing them?

If this is not possible, it will be very nice to add it as a new feature :D,

Regards,

Zeus.

----- Terminar mensaje reenviado -----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 18 19:37:17 2004

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