summaryrefslogtreecommitdiffstats
path: root/llvm/utils/git-svn
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-11-30 19:12:53 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-11-30 19:12:53 +0000
commit5c289b77fa94d13f565d23a64a75b18140d36021 (patch)
treef6c83269deec85c401c17d9dca3514be9d544f5e /llvm/utils/git-svn
parentcb79c079b80fe91989b355569254b48bdf3aa959 (diff)
downloadbcm5719-llvm-5c289b77fa94d13f565d23a64a75b18140d36021.tar.gz
bcm5719-llvm-5c289b77fa94d13f565d23a64a75b18140d36021.zip
[git-llvm] Use --force-interactive when commiting to enable SVN to prompt password
When svn does not know the password and it has to prompt, it needs to query. However it won't when invoked from the Python script and instead fails with: svn: E215004: Authentication failed and interactive prompting is disabled; see the --force-interactive option Differential Revision: https://reviews.llvm.org/D27274 llvm-svn: 288266
Diffstat (limited to 'llvm/utils/git-svn')
-rwxr-xr-xllvm/utils/git-svn/git-llvm2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/git-svn/git-llvm b/llvm/utils/git-svn/git-llvm
index d545c52cb8f..11a5719cac7 100755
--- a/llvm/utils/git-svn/git-llvm
+++ b/llvm/utils/git-svn/git-llvm
@@ -208,7 +208,7 @@ def svn_push_one_rev(svn_repo, rev, dry_run):
# Now we're ready to commit.
commit_msg = git('show', '--pretty=%B', '--quiet', rev)
if not dry_run:
- log(svn(svn_repo, 'commit', '-m', commit_msg))
+ log(svn(svn_repo, 'commit', '-m', commit_msg, '--force-interactive'))
log('Committed %s to svn.' % rev)
else:
log("Would have committed %s to svn, if this weren't a dry run." % rev)
OpenPOWER on IntegriCloud