diff -r 5c5152af0d15 -r d982edcfe7f0 mercurial/templater.py --- 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):