On Thu, Jul 10, 2008 at 5:40 AM, Carmelo AMOROSO <[EMAIL PROTECTED]> wrote: > Hi All, > I'm not svn expert, but I've noted that the nptl branch doesn't take > care of trailing whitespaces on files and accept them silently, the same > doesn't happen on trunk. > Indeed I've committed some files on branch without problems and then, > moving on trunk I've discovered the problems (sorry for that). > > Is someone knows how to fix the nptl branch to reject commit when files > have trailing whitespaces, please do. > > > Carmelo >
I have never done it myself, but you need a hook: http://subversion.tigris.org/faq.html#auto-props You want a pre_commit hook so that it will not commit or will be modified on commit before actual commit is transacted So, some script could be made, so the trick would be to do some sort of regex that checks the end of the file for a newline -- Kevin Day _______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
