Index: ensure_dependencies.py |
diff --git a/ensure_dependencies.py b/ensure_dependencies.py |
index 586d737b87c81d6c4c1fb6dc146eabd3f9b46127..3285f854e302a5918e11da1cb049b2310625a789 100755 |
--- a/ensure_dependencies.py |
+++ b/ensure_dependencies.py |
@@ -87,10 +87,10 @@ class Git(): |
def update(self, repo, rev): |
subprocess.check_call(["git", "checkout", "--quiet", rev], cwd=repo) |
-repo_types = { |
- "hg": Mercurial(), |
- "git": Git(), |
-} |
+repo_types = OrderedDict(( |
+ ("hg", Mercurial()), |
+ ("git", Git()), |
+)) |
def parse_spec(path, line): |
if "=" not in line: |