diff --git a/mercurial/patch.py b/mercurial/patch.py --- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -363,7 +363,7 @@ return self._ispatchinga(afile) and self._ispatchingb(bfile) def __repr__(self): - return "" % (self.op, self.path) + return r"" % (self.op, self.path) def readgitpatch(lr): """extract git-style metadata about patches from """