cvsps: port changeset __repr__ to py3
This appears to be unused except as a debugging aid, as it didn't
break until I added a debug print() in service of the previous
fix. Sigh.
Differential Revision: https://phab.mercurial-scm.org/D3724
--- a/hgext/convert/cvsps.py Tue Jun 12 18:24:25 2018 -0400
+++ b/hgext/convert/cvsps.py Tue Jun 12 18:49:22 2018 -0400
@@ -51,8 +51,8 @@
self.__dict__.update(entries)
def __repr__(self):
- items = ("%s=%r"%(k, self.__dict__[k]) for k in sorted(self.__dict__))
- return "%s(%s)"%(type(self).__name__, ", ".join(items))
+ items = (r"%s=%r"%(k, self.__dict__[k]) for k in sorted(self.__dict__))
+ return r"%s(%s)"%(type(self).__name__, r", ".join(items))
class logerror(Exception):
pass