equal
deleted
inserted
replaced
867 path = self.cleanpath(req.form.get('file', [''])[0]) |
867 path = self.cleanpath(req.form.get('file', [''])[0]) |
868 if path: |
868 if path: |
869 try: |
869 try: |
870 req.write(self.filerevision(self.filectx(req))) |
870 req.write(self.filerevision(self.filectx(req))) |
871 return |
871 return |
872 except hg.RepoError: |
872 except revlog.LookupError: |
873 pass |
873 pass |
874 |
874 |
875 req.write(self.manifest(self.changectx(req), path)) |
875 req.write(self.manifest(self.changectx(req), path)) |
876 |
876 |
877 def do_diff(self, req): |
877 def do_diff(self, req): |