<div dir="ltr">Thats right folks,<br>&nbsp;I think I&#39;ve successfully written a test which checks for bazaar code style regressions in the not-yet-commited changes of the working tree being tested.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Currently I check all newly modified .py files for:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * new trailing white space<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * new leading tabs<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * new long lines (give warning only)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * no newline at end of files<br clear="all"><br>It already came in usefull while preparing this patch<br>
./bzr --no-plugins selftest coding_style<br>will help people like me to easily prepare non-style-regressing patches.<br><br>I mostly copied code from diff and friends.<br><br>regards<br>marius<br><br>-- <br>a patch a day<br>

</div>