diff hgext/convert/cvsps.py @ 18375:cfbd33020066

convert: report cvsps branchpoints sorted
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 15 Jan 2013 02:59:14 +0100
parents 762f12b8ebae
children c8c3887a24c1
line wrap: on
line diff
--- a/hgext/convert/cvsps.py	Tue Jan 15 02:59:14 2013 +0100
+++ b/hgext/convert/cvsps.py	Tue Jan 15 02:59:14 2013 +0100
@@ -827,7 +827,8 @@
             ui.write(('Tag%s: %s \n' % (['', 's'][len(cs.tags) > 1],
                                   ','.join(cs.tags) or '(none)')))
             if cs.branchpoints:
-                ui.write(('Branchpoints: %s \n') % ', '.join(cs.branchpoints))
+                ui.write(('Branchpoints: %s \n') %
+                         ', '.join(sorted(cs.branchpoints)))
             if opts["parents"] and cs.parents:
                 if len(cs.parents) > 1:
                     ui.write(('Parents: %s\n' %