summaryrefslogtreecommitdiff
path: root/git_remote_helpers/git/importer.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_remote_helpers/git/importer.py')
-rw-r--r--git_remote_helpers/git/importer.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/git_remote_helpers/git/importer.py b/git_remote_helpers/git/importer.py
index af2919d..70a7127 100644
--- a/git_remote_helpers/git/importer.py
+++ b/git_remote_helpers/git/importer.py
@@ -35,4 +35,6 @@ class GitImporter(object):
if os.path.exists(path):
args.append("--import-marks=" + path)
- subprocess.check_call(args)
+ child = subprocess.Popen(args)
+ if child.wait() != 0:
+ raise CalledProcessError