# HG changeset patch # User Augie Fackler # Date 1386957728 18000 # Node ID 09028a1e9895974cfed08f895d9c78a00f9e5b9a # Parent 0a514e303a06fcaaa6305166051814b7f9dd4af9 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. diff -r 0a514e303a06 -r 09028a1e9895 hggit/git_handler.py --- a/hggit/git_handler.py Fri Dec 13 12:54:39 2013 -0500 +++ b/hggit/git_handler.py Fri Dec 13 13:02:08 2013 -0500 @@ -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: