llvm.org GIT mirror llvm / 19ef8ff
[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 Mehdi Amini 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
207207 # Now we're ready to commit.
208208 commit_msg = git('show', '--pretty=%B', '--quiet', rev)
209209 if not dry_run:
210 log(svn(svn_repo, 'commit', '-m', commit_msg))
210 log(svn(svn_repo, 'commit', '-m', commit_msg, '--force-interactive'))
211211 log('Committed %s to svn.' % rev)
212212 else:
213213 log("Would have committed %s to svn, if this weren't a dry run." % rev)