convert: process subversion branch in a sorted order
authorMads Kiilerich <mads@kiilerich.com>
Tue, 15 Jan 2013 02:59:14 +0100
changeset 18374 942ecb55b1de
parent 18373 687ed69f6fdf
child 18375 cfbd33020066
convert: process subversion branch in a sorted order
hgext/convert/subversion.py
--- a/hgext/convert/subversion.py	Tue Jan 15 02:59:14 2013 +0100
+++ b/hgext/convert/subversion.py	Tue Jan 15 02:59:14 2013 +0100
@@ -377,7 +377,7 @@
             rpath = self.url.strip('/')
             branchnames = svn.client.ls(rpath + '/' + quote(branches),
                                         rev, False, self.ctx)
-            for branch in branchnames.keys():
+            for branch in sorted(branchnames):
                 module = '%s/%s/%s' % (oldmodule, branches, branch)
                 if not isdir(module, self.last_changed):
                     continue