Show More
@@ -664,12 +664,10 b' class hgweb(object):' | |||||
664 | return |
|
664 | return | |
665 |
|
665 | |||
666 | cmd = args.pop(0) |
|
666 | cmd = args.pop(0) | |
667 | if cmd == 'raw': |
|
667 | style = cmd.rfind('-') | |
668 |
|
|
668 | if style != -1: | |
669 | cmd = 'rev' |
|
669 | req.form['style'] = [cmd[:style]] | |
670 |
|
|
670 | cmd = cmd[style+1:] | |
671 | req.form['style'] = ['raw'] |
|
|||
672 | cmd = 'diff' |
|
|||
673 | req.form['cmd'] = [cmd] |
|
671 | req.form['cmd'] = [cmd] | |
674 |
|
672 | |||
675 | if args and args[0]: |
|
673 | if args and args[0]: |
General Comments 0
You need to be logged in to leave comments.
Login now