[llvm] r288266 - [git-llvm] Use --force-interactive when commiting to enable SVN to prompt password
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 30 11:12:53 PST 2016
Author: mehdi_amini
Date: Wed Nov 30 13:12:53 2016
New Revision: 288266
URL: http://llvm.org/viewvc/llvm-project?rev=288266&view=rev
Log:
[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
Modified:
llvm/trunk/utils/git-svn/git-llvm
Modified: llvm/trunk/utils/git-svn/git-llvm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/git-svn/git-llvm?rev=288266&r1=288265&r2=288266&view=diff
==============================================================================
--- llvm/trunk/utils/git-svn/git-llvm (original)
+++ llvm/trunk/utils/git-svn/git-llvm Wed Nov 30 13:12:53 2016
@@ -208,7 +208,7 @@ def svn_push_one_rev(svn_repo, rev, dry_
# 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)
More information about the llvm-commits
mailing list