[Pkg-mozext-commits] [adblock-plus] 14/24: Issue 1449 - Convert repo_type into an OrderedDirct to prefer HG over Git

David Prévot taffit at moszumanska.debian.org
Mon Oct 20 02:15:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit 928b677b512e73b00533f5b374889b25ace271b3
Author: Matze <mathias at adblockplus.org>
Date:   Wed Oct 8 00:42:17 2014 +0200

    Issue 1449 - Convert repo_type into an OrderedDirct to prefer HG over Git
---
 ensure_dependencies.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ensure_dependencies.py b/ensure_dependencies.py
index a2d078a..4a4a474 100755
--- a/ensure_dependencies.py
+++ b/ensure_dependencies.py
@@ -76,10 +76,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:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list