summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-import-dsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-import-dsc b/git-import-dsc
index 8def4ec2..99da9d10 100755
--- a/git-import-dsc
+++ b/git-import-dsc
@@ -262,6 +262,9 @@ def main(argv):
else:
print >>sys.stderr, "Warning: Didn't find a diff to apply."
repo.force_head(options.debian_branch, hard=True)
+ except KeyboardInterrupt:
+ ret = 1
+ print >>sys.stderr, "Interrupted. Aborting."
except gbpc.CommandExecFailed:
ret = 1
except GitRepositoryError, msg: