changeset 38306:bec815f991b0

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
author Augie Fackler <augie@google.com>
date Tue, 12 Jun 2018 18:49:22 -0400
parents 80f6e95fac2d
children 42f3a277c8dc
files hgext/convert/cvsps.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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