Please fix my pet bug.

Alexander Belchenko bialix at ukr.net
Tue Nov 3 16:47:35 GMT 2009


Óscar Fuentes пишет:
> This issue is a very simple one and I'm seeing with despair how it
> survives one release after another.
> 
> bzr doesn't like \r\n line endings on commit messages: it will throw an
> error. When the commit messsage is passed with "-m", bzr does not
> sanitize it. This makes impossible to commit with Emacs on Windows,
> seriously impacting the workflow.
> 
> The solution, obviously, is to replace \r\n with \n. I suggest doing it
> on the `commit' method of commit.py, but don't take me too seriously, as
> I have almost zero knowledge about python.
> 
> The bug report is https://bugs.launchpad.net/bzr/+bug/433779

I've commented on this bug and attached a simple patch which should fix 
your problem. If you want to make sure it will go in next release, you 
can use it freely, maybe you need to write a blackbox test for it.

Try to ping core devs about required test. I have no desire to write test.




More information about the bazaar mailing list