On Mon, Aug 8, 2011 at 1:18 PM, Rony G. Flatscher <rony.flatsc...@wu-wien.ac.at> wrote:
> If a script would take automatically take care of stripping off > whitespace, then no one is forced to configure his editor to do that > automatically. > > AFAIK subversion/svn allows for defining "hook" scripts. It does allow hook scripts, but that is not much use here because it won't work well. Or is at least is advised against. Pre-commit hooks can only be used to prevent a transaction, they can not modify the transaction. A post-commit hook that removed the whitespace would then require a second commit. I've seen this advised against, although I guess that could come down to individual like or dislike. It would certainly leave the committer's file out of sync with the repository immediately after the commit. I personally would rather configure my editor than deal with that. <grin> Most cooperative projects I've looked at, require the programmer to conform to the style guidelines, if they have them, rather than changing code after it is committed. -- Mark Miesfeld ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel