I've seen this topic come and go over the years in CVS and now in
Subversion. It amazes me the amount of resistance put forth by the
maintainers of both of these projects. It's just a feature. A useful
feature that can be used or ignored. Providing a simple hook somewhere
in the commit path to run a script to format the incoming file before
the commit and to transmit the changes back to the client.
Whether or not automatic formatting of committed files is appropriate is
a purely philosophical debate. In my mind it is simply an extension of
the already convenient RCS keyword expansion provided by both CVS and
Subversion. Imagine, if you will, a world in which RCS keyword expansion
didn't exist. Would you ask developers to make sure to update the
revision number and commit time in each file before they committed it?
Why force them to remember to run the code through a formatter before
they commit it?
Please CVS and Subversion, give the world a way to easily and
appropriately integrate code formatters.
Bernard Durfee
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 22 19:18:41 2005