[Pkg-mozext-commits] [adblock-plus] 46/87: Issue 3635 - Fix ensure_dependencies.py doesn't work when neither a .git nor a .hg directory is present

David Prévot taffit at moszumanska.debian.org
Sat Apr 30 17:59:07 UTC 2016


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

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

commit 6c7b85891da20e66340e116275cfb9d4c7ec4a21
Author: Andrey Novikov <novikov at gmail.com>
Date:   Mon Mar 21 13:36:04 2016 +0100

    Issue 3635 - Fix ensure_dependencies.py doesn't work when neither a .git nor a .hg directory is present
---
 ensure_dependencies.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ensure_dependencies.py b/ensure_dependencies.py
index 707574d..84b9628 100755
--- a/ensure_dependencies.py
+++ b/ensure_dependencies.py
@@ -238,7 +238,7 @@ def get_repo_type(repo):
   for name, repotype in repo_types.iteritems():
     if repotype.istype(repo):
       return name
-  return None
+  return "hg"
 
 def ensure_repo(parentrepo, parenttype, target, type, root, sourcename):
   if os.path.exists(target):

-- 
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