Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Sync with 1.7.1.2
[gitweb.git]
/
git_remote_helpers
/
git
/
exporter.py
diff --git
a/git_remote_helpers/git/exporter.py
b/git_remote_helpers/git/exporter.py
index dfaab00b5fe971a6d2379710795b3038dd851e90..f40f9d6a29cda39ee7f989e11ef66cdf3d54d625 100644
(file)
--- a/
git_remote_helpers/git/exporter.py
+++ b/
git_remote_helpers/git/exporter.py
@@
-48,4
+48,6
@@
def export_repo(self, base):
args = ["sed", "s_refs/heads/_" + self.repo.prefix + "_g"]
- subprocess.check_call(args, stdin=p1.stdout)
+ child = subprocess.Popen(args, stdin=p1.stdout)
+ if child.wait() != 0:
+ raise CalledProcessError