diff hgext/convert/hg.py @ 18373:687ed69f6fdf

convert: process missing branches in sorted order
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 15 Jan 2013 02:59:14 +0100
parents 7f5dab94e48c
children 05acdf8e1f23
line wrap: on
line diff
--- a/hgext/convert/hg.py	Tue Jan 15 02:59:14 2013 +0100
+++ b/hgext/convert/hg.py	Tue Jan 15 02:59:14 2013 +0100
@@ -110,7 +110,7 @@
 
         if missings:
             self.after()
-            for pbranch, heads in missings.iteritems():
+            for pbranch, heads in sorted(missings.iteritems()):
                 pbranchpath = os.path.join(self.path, pbranch)
                 prepo = hg.peer(self.ui, {}, pbranchpath)
                 self.ui.note(_('pulling from %s into %s\n') % (pbranch, branch))