equal
deleted
inserted
replaced
300 |
300 |
301 def setmode(self, mode): |
301 def setmode(self, mode): |
302 islink = mode & 020000 |
302 islink = mode & 020000 |
303 isexec = mode & 0100 |
303 isexec = mode & 0100 |
304 self.mode = (islink, isexec) |
304 self.mode = (islink, isexec) |
|
305 |
|
306 def __repr__(self): |
|
307 return "<patchmeta %s %r>" % (self.op, self.path) |
305 |
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 |
309 # Filter patch for git information |
312 # Filter patch for git information |