equal
deleted
inserted
replaced
751 |
751 |
752 def annotate(web, req, tmpl): |
752 def annotate(web, req, tmpl): |
753 fctx = webutil.filectx(web.repo, req) |
753 fctx = webutil.filectx(web.repo, req) |
754 f = fctx.path() |
754 f = fctx.path() |
755 parity = paritygen(web.stripecount) |
755 parity = paritygen(web.stripecount) |
756 diffopts = patch.diffopts(web.repo.ui, untrusted=True, section='annotate') |
756 diffopts = patch.difffeatureopts(web.repo.ui, untrusted=True, |
|
757 section='annotate', whitespace=True) |
757 |
758 |
758 def annotate(**map): |
759 def annotate(**map): |
759 last = None |
760 last = None |
760 if util.binary(fctx.data()): |
761 if util.binary(fctx.data()): |
761 mt = (mimetypes.guess_type(fctx.path())[0] |
762 mt = (mimetypes.guess_type(fctx.path())[0] |