From 19ef8ff90cfd474c5209a5db7412a9b10962dad7 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Wed, 30 Nov 2016 19:12:53 +0000 Subject: [PATCH] [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288266 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/git-svn/git-llvm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/git-svn/git-llvm b/utils/git-svn/git-llvm index d545c52cb8f..11a5719cac7 100755 --- a/utils/git-svn/git-llvm +++ b/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) -- 2.50.1