[Pkg-mozext-commits] [adblock-plus] 28/52: Issue 1777 - ensure_dependencies.py fails to detect unknown Git revisions
David Prévot
taffit at moszumanska.debian.org
Thu Jan 22 21:43:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit 5fe366025b7c767369db93e83441d654530e1134
Author: Wladimir Palant <trev at adblockplus.org>
Date: Mon Jan 12 00:06:45 2015 +0100
Issue 1777 - ensure_dependencies.py fails to detect unknown Git revisions
--HG--
extra : amend_source : a0b3acc605cdf2276781d44f1df150df899f3324
---
ensure_dependencies.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ensure_dependencies.py b/ensure_dependencies.py
index ffe04a0..a6ae401 100755
--- a/ensure_dependencies.py
+++ b/ensure_dependencies.py
@@ -89,7 +89,7 @@ class Git():
subprocess.check_call(["git", "clone", "--quiet", source, target])
def get_revision_id(self, repo, rev="HEAD"):
- command = ["git", "rev-parse", "--revs-only", rev]
+ command = ["git", "rev-parse", "--revs-only", rev + '^{commit}']
return subprocess.check_output(command, cwd=repo).strip()
def pull(self, repo):
--
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