##// END OF EJS Templates
patch: descriptive patchmeta.__repr__ to help debugging
Mads Kiilerich -
r11018:17cf756b default
parent child Browse files
Show More
@@ -303,6 +303,9 b' class patchmeta(object):'
303 isexec = mode & 0100
303 isexec = mode & 0100
304 self.mode = (islink, isexec)
304 self.mode = (islink, isexec)
305
305
306 def __repr__(self):
307 return "<patchmeta %s %r>" % (self.op, self.path)
308
306 def readgitpatch(lr):
309 def readgitpatch(lr):
307 """extract git-style metadata about patches from <patchname>"""
310 """extract git-style metadata about patches from <patchname>"""
308
311
General Comments 0
You need to be logged in to leave comments. Login now