mercurial/patch.py
changeset 41624 3751595ec45e
parent 41620 74f53d3bd685
child 41646 d4c9eebdd72d
equal deleted inserted replaced
41623:7c4e205f71ca 41624:3751595ec45e
   361 
   361 
   362     def ispatching(self, afile, bfile):
   362     def ispatching(self, afile, bfile):
   363         return self._ispatchinga(afile) and self._ispatchingb(bfile)
   363         return self._ispatchinga(afile) and self._ispatchingb(bfile)
   364 
   364 
   365     def __repr__(self):
   365     def __repr__(self):
   366         return "<patchmeta %s %r>" % (self.op, self.path)
   366         return r"<patchmeta %s %r>" % (self.op, self.path)
   367 
   367 
   368 def readgitpatch(lr):
   368 def readgitpatch(lr):
   369     """extract git-style metadata about patches from <patchname>"""
   369     """extract git-style metadata about patches from <patchname>"""
   370 
   370 
   371     # Filter patch for git information
   371     # Filter patch for git information