diff hgext/convert/subversion.py @ 18374:942ecb55b1de

convert: process subversion branch in a sorted order
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 15 Jan 2013 02:59:14 +0100
parents 337d728e644f
children 83973dc1bfe9
line wrap: on
line diff
--- 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