equal
deleted
inserted
replaced
961 |
961 |
962 def filename(self): |
962 def filename(self): |
963 return self.files()[-1] |
963 return self.files()[-1] |
964 |
964 |
965 def __repr__(self): |
965 def __repr__(self): |
966 return '<header %s>' % (' '.join(map(repr, self.files()))) |
966 return '<header %s>' % ( |
|
967 ' '.join(pycompat.rapply(pycompat.fsdecode, self.files())) |
|
968 ) |
967 |
969 |
968 def isnewfile(self): |
970 def isnewfile(self): |
969 return any(self.newfile_re.match(h) for h in self.header) |
971 return any(self.newfile_re.match(h) for h in self.header) |
970 |
972 |
971 def special(self): |
973 def special(self): |