Show More
@@ -149,12 +149,13 b' class SimpleHg(object):' | |||
|
149 | 149 | Maps mercurial request commands into a pull or push command. |
|
150 | 150 | @param environ: |
|
151 | 151 | """ |
|
152 | mapping = { | |
|
153 | 'changegroup': 'pull', | |
|
154 |
' |
|
|
155 |
' |
|
|
156 |
' |
|
|
157 | } | |
|
152 | mapping = {'changegroup': 'pull', | |
|
153 | 'changegroupsubset': 'pull', | |
|
154 | 'stream_out': 'pull', | |
|
155 | 'listkeys': 'pull', | |
|
156 | 'unbundle': 'push', | |
|
157 | 'pushkey': 'push', } | |
|
158 | ||
|
158 | 159 | for qry in environ['QUERY_STRING'].split('&'): |
|
159 | 160 | if qry.startswith('cmd'): |
|
160 | 161 | cmd = qry.split('=')[-1] |
General Comments 0
You need to be logged in to leave comments.
Login now