D4894: py3: use '%f' for floats instead of '%s'

Yuya Nishihara yuya at tcha.org
Fri Oct 5 21:27:01 EDT 2018


>   I remember Yuya saying we need to use bytestr() or '%r' because '%s' was clever.
>   Not sure it applies to this or not.

This should be fine since we don't care the prettiness of the debug output.

Last time, I pointed out that '%f' was incompatible since the value was a
version number, and '%f' would print it as '1.000000'.


More information about the Mercurial-devel mailing list