equal
deleted
inserted
replaced
760 if fctx is not None: |
760 if fctx is not None: |
761 path = fctx.path() |
761 path = fctx.path() |
762 ctx = fctx.changectx() |
762 ctx = fctx.changectx() |
763 basectx = ctx.p1() |
763 basectx = ctx.p1() |
764 |
764 |
765 style = web.config('web', 'style', 'paper') |
765 style = web.config('web', 'style') |
766 if 'style' in req.form: |
766 if 'style' in req.form: |
767 style = req.form['style'][0] |
767 style = req.form['style'][0] |
768 |
768 |
769 diffs = webutil.diffs(web, tmpl, ctx, basectx, [path], style) |
769 diffs = webutil.diffs(web, tmpl, ctx, basectx, [path], style) |
770 if fctx is not None: |
770 if fctx is not None: |
997 |
997 |
998 repo = web.repo |
998 repo = web.repo |
999 revs = fctx.filelog().revs(start, end - 1) |
999 revs = fctx.filelog().revs(start, end - 1) |
1000 entries = [] |
1000 entries = [] |
1001 |
1001 |
1002 diffstyle = web.config('web', 'style', 'paper') |
1002 diffstyle = web.config('web', 'style') |
1003 if 'style' in req.form: |
1003 if 'style' in req.form: |
1004 diffstyle = req.form['style'][0] |
1004 diffstyle = req.form['style'][0] |
1005 |
1005 |
1006 def diff(fctx, linerange=None): |
1006 def diff(fctx, linerange=None): |
1007 ctx = fctx.changectx() |
1007 ctx = fctx.changectx() |