Mercurial > hg
comparison mercurial/discovery.py @ 40949:f732889abe0e
error: implement __str__ on RevlogError to fix some output defects on Py3
We open-code encoding.unimethod here to avoid cycles, and do a local
import of encoding when someone str()s a RevlogError. It's not my
favorite solution, but it gets the job done.
Differential Revision: https://phab.mercurial-scm.org/D5426
author | Augie Fackler <augie@google.com> |
---|---|
date | Fri, 14 Dec 2018 12:01:47 -0500 |
parents | 1964d2d1f421 |
children | eb7ce452e0fb |
comparison
equal
deleted
inserted
replaced
40948:a314eafd7c8d | 40949:f732889abe0e |
---|