Mercurial > hg > hg-git
changeset 622:09028a1e9895
git_handler: iterate over new refs in sorted order to stabilize test output
An earlier patch already fixes the test expectations (oops), so this
just makes sure the tests always pass.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Fri, 13 Dec 2013 13:02:08 -0500 |
parents | 0a514e303a06 |
children | 6faa5b0f8909 |
files | hggit/git_handler.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/git_handler.py +++ b/hggit/git_handler.py @@ -278,7 +278,7 @@ remote_name = self.remote_name(remote) if remote_name and new_refs: - for ref, new_sha in new_refs.iteritems(): + for ref, new_sha in sorted(new_refs.iteritems()): old_sha = old_refs.get(ref) if old_sha is None: if self.ui.verbose: