Hi, Alexey! On Jul 16, Alexey Botchkov wrote:
Hi, Sergei.
+++ sql/field.cc 2012-07-11 14:28:40 +0000 @@ -9182,6 +9182,7 @@ void Create_field::init_for_tmp_table(en
First: please, see the last section in http://kb.askmonty.org/en/how-to-get-more-out-of-bzr-when-working-on-mariadb... and do as it suggests
I had to apply your patch locally and re-run bzr diff to get the function names in the diff :(
Wasn't able to start that last section. I created the .bazaar/diff_p/, the __init__.py, and .bazaar/rules files, then get:
it should be .bazaar/plugins/diff_p/
$ bzr diff >dif2 bzr: ERROR: exceptions.UnboundLocalError: local variable 'diff_file' referenced before assignment
Python is sentisive to indentation levels. May be you've messed up the whitespace when copy-pasting from the kb? I'll attach the correct __init__.py to this email.
Although i used other tips from that page so my diff includes the function's names already. Maybe that's enough.
diff_p plugin is better because it adds function names to (almost) *all* diffs. Not only to 'bzr diff', but also to 'bzr commit' generated emails, 'bzr log', etc. Regards, Sergei