mercurial/sshrepo.py
changeset 11366 1765897fc497
parent 11153 9936ed1d04f4
child 11369 02a4373ca5cd
--- a/mercurial/sshrepo.py	Wed Jun 16 22:00:02 2010 -0400
+++ b/mercurial/sshrepo.py	Wed Jun 16 15:01:09 2010 -0500
@@ -117,7 +117,7 @@
     def do_cmd(self, cmd, **args):
         self.ui.debug("sending %s command\n" % cmd)
         self.pipeo.write("%s\n" % cmd)
-        for k, v in args.iteritems():
+        for k, v in sorted(args.iteritems()):
             self.pipeo.write("%s %d\n" % (k, len(v)))
             self.pipeo.write(v)
         self.pipeo.flush()