Show More
@@ -141,15 +141,16 b' class hgweb(object):' | |||
|
141 | 141 | else: |
|
142 | 142 | cmd = '' |
|
143 | 143 | |
|
144 |
if |
|
|
145 |
|
|
|
146 | req.form['node'] = [node] | |
|
147 | if args: | |
|
148 |
|
|
|
144 | if cmd == 'static': | |
|
145 | req.form['file'] = ['/'.join(args)] | |
|
146 | else: | |
|
147 | if args and args[0]: | |
|
148 | node = args.pop(0) | |
|
149 | req.form['node'] = [node] | |
|
150 | if args: | |
|
151 | req.form['file'] = args | |
|
149 | 152 | |
|
150 |
if cmd == ' |
|
|
151 | req.form['file'] = req.form['node'] | |
|
152 | elif cmd == 'archive': | |
|
153 | if cmd == 'archive': | |
|
153 | 154 | fn = req.form['node'][0] |
|
154 | 155 | for type_, spec in self.archive_specs.iteritems(): |
|
155 | 156 | ext = spec[2] |
General Comments 0
You need to be logged in to leave comments.
Login now