| Index: ensure_dependencies.py |
| =================================================================== |
| --- a/ensure_dependencies.py |
| +++ b/ensure_dependencies.py |
| @@ -59,17 +59,17 @@ class Mercurial(): |
| class Git(): |
| def istype(self, repodir): |
| return os.path.exists(os.path.join(repodir, ".git")) |
| def clone(self, source, target): |
| source = source.rstrip("/") |
| if not source.endswith(".git"): |
| source += ".git" |
| - subprocess.check_call(["git", "clone", "--quiet", "--no-checkout", source, target]) |
| + subprocess.check_call(["git", "clone", "--quiet", source, target]) |
| def get_revision_id(self, repo, rev="HEAD"): |
| command = ["git", "-C", repo, "rev-parse", "--revs-only", rev] |
| return subprocess.check_output(command).strip() |
| def pull(self, repo): |
| subprocess.check_call(["git", "-C", repo, "fetch", "--quiet", "--all", "--tags"]) |