diff mercurial/templater.py @ 19127:d982edcfe7f0

templater: fix output instability from gsoc patches
author Augie Fackler <raf@durin42.com>
date Thu, 02 May 2013 20:41:22 -0500
parents 6ba6e345961e
children 8eef5b93db9d
line wrap: on
line diff
--- a/mercurial/templater.py	Thu Apr 18 22:56:57 2013 +0300
+++ b/mercurial/templater.py	Thu May 02 20:41:22 2013 -0500
@@ -402,7 +402,7 @@
         split = file.split(".")
         if split[0] == "map-cmdline":
             stylelist.append(split[1])
-    return ", ".join(stylelist)
+    return ", ".join(sorted(stylelist))
 
 class templater(object):