changeset 13555 | 970150ddaaf8 |
parent 13115 | bda5f35fbf67 |
child 13603 | 395a84f78736 |
--- a/mercurial/httprepo.py Mon Mar 07 15:45:10 2011 -0600 +++ b/mercurial/httprepo.py Mon Mar 07 15:37:11 2011 +0800 @@ -73,8 +73,7 @@ data = args.pop('data', None) headers = args.pop('headers', {}) self.ui.debug("sending %s command\n" % cmd) - q = {"cmd": cmd} - q.update(args) + q = [('cmd', cmd)] + sorted(args.items()) qs = '?%s' % urllib.urlencode(q) cu = "%s%s" % (self._url, qs) req = urllib2.Request(cu, data, headers)