projects
/
invirt/scripts/git-migration.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use check_call instead of call to make sure things error out.
[invirt/scripts/git-migration.git]
/
git-migrate
diff --git
a/git-migrate
b/git-migrate
index
493f25e
..
b8d0f0f
100755
(executable)
--- a/
git-migrate
+++ b/
git-migrate
@@
-6,7
+6,7
@@
import subprocess
def clonePackage(base, pkg):
# Use --no-follow-parent because we're going to handle that with
# grafts.
def clonePackage(base, pkg):
# Use --no-follow-parent because we're going to handle that with
# grafts.
- subprocess.call(['git', 'svn', 'clone', '--no-follow-parent', '%s/packages/%s' % (base, pkg)],
+ subprocess.check_call(['git', 'svn', 'clone', '--no-follow-parent', '%s/packages/%s' % (base, pkg)],
stdout=subprocess.PIPE)
def cloneAllPackages(base):
stdout=subprocess.PIPE)
def cloneAllPackages(base):