diff -r 80b9101688ac -r 17cf756ba25d mercurial/patch.py --- a/mercurial/patch.py Fri Apr 23 15:24:11 2010 +0900 +++ b/mercurial/patch.py Mon Apr 26 13:21:02 2010 +0200 @@ -303,6 +303,9 @@ isexec = mode & 0100 self.mode = (islink, isexec) + def __repr__(self): + return "" % (self.op, self.path) + def readgitpatch(lr): """extract git-style metadata about patches from """