Mercurial > hg-stable
diff mercurial/localrepo.py @ 18356:752f77ef7202
localrepo: store requirements sorted
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 12 Dec 2012 02:38:14 +0100 |
parents | 948f495fb230 |
children | 6252b4f1c4b4 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Tue Jan 15 02:59:12 2013 +0100 +++ b/mercurial/localrepo.py Wed Dec 12 02:38:14 2012 +0100 @@ -262,7 +262,7 @@ def _writerequirements(self): reqfile = self.opener("requires", "w") - for r in self.requirements: + for r in sorted(self.requirements): reqfile.write("%s\n" % r) reqfile.close()