##// END OF EJS Templates
added new command mappings for mercurial 1.6
marcink -
r330:4c9a295d default
parent child Browse files
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 'changegroupsubset': 'pull',
155 'unbundle': 'push',
156 'stream_out': 'pull',
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