Index: llvm/trunk/utils/git-svn/git-llvm =================================================================== --- llvm/trunk/utils/git-svn/git-llvm +++ llvm/trunk/utils/git-svn/git-llvm @@ -345,7 +345,10 @@ # 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, '--force-interactive')) + commit_args = ['commit', '-m', commit_msg] + if '--force-interactive' in svn(svn_repo, 'commit', '--help'): + commit_args.append('--force-interactive') + log(svn(svn_repo, *commit_args)) log('Committed %s to svn.' % rev) else: log("Would have committed %s to svn, if this weren't a dry run." % rev)