Submitter | Gregory Szorc |
---|---|
Date | Feb. 24, 2015, 9:11 a.m. |
Message ID | <0051ab347e37bea44a87.1424769112@gps-mbp.local> |
Download | mbox | patch |
Permalink | /patch/7823/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/tags.py b/mercurial/tags.py --- a/mercurial/tags.py +++ b/mercurial/tags.py @@ -336,9 +336,9 @@ def _writetagcache(ui, repo, heads, tagf # we keep them in UTF-8 throughout this module. If we converted # them local encoding on input, we would lose info writing them to # the cache. cachefile.write('\n') - for (name, (node, hist)) in cachetags.iteritems(): + for (name, (node, hist)) in sorted(cachetags.iteritems()): for n in hist: cachefile.write("%s %s\n" % (hex(n), name)) cachefile.write("%s %s\n" % (hex(node), name))