comparison hgext/win32mbcs.py @ 31493:7e9c7d1d65cb

dispatch: extract maybe-use-repr formatting to helper function I think this makes the code much clearer. I had to think for a bit to unpack the old-school `condition and if-true or if-false` dance, and formatting argument lists here shouldn't be performance critical.
author Augie Fackler <augie@google.com>
date Sun, 19 Mar 2017 00:21:26 -0400
parents e995f00a9e9a
children 176ed32dc159 d74b0cff94a9
comparison
equal deleted inserted replaced
31492:3c77414a0f9c 31493:7e9c7d1d65cb