[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
This commit is contained in:
Mehdi Amini 2016-11-30 19:12:53 +00:00
parent cb79c079b8
commit 5c289b77fa
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ def svn_push_one_rev(svn_repo, rev, dry_run):
# Now we're ready to commit. # Now we're ready to commit.
commit_msg = git('show', '--pretty=%B', '--quiet', rev) commit_msg = git('show', '--pretty=%B', '--quiet', rev)
if not dry_run: 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) log('Committed %s to svn.' % rev)
else: else:
log("Would have committed %s to svn, if this weren't a dry run." % rev) log("Would have committed %s to svn, if this weren't a dry run." % rev)