mercurial/patch.py
changeset 41624 3751595ec45e
parent 41620 74f53d3bd685
child 41646 d4c9eebdd72d
--- a/mercurial/patch.py	Thu Feb 07 16:44:43 2019 +0300
+++ b/mercurial/patch.py	Thu Feb 07 16:43:42 2019 +0300
@@ -363,7 +363,7 @@
         return self._ispatchinga(afile) and self._ispatchingb(bfile)
 
     def __repr__(self):
-        return "<patchmeta %s %r>" % (self.op, self.path)
+        return r"<patchmeta %s %r>" % (self.op, self.path)
 
 def readgitpatch(lr):
     """extract git-style metadata about patches from <patchname>"""