parameters: (self)
return_statement: return []
docstring: Return options to be used on calls to Subversion that contact the server.
  
          These options are applicable for the following ``svn`` subcommands used
          in this class.
  
              - checkout
              - export
              - switch
              - update
  
          :return: A list of command line arguments to pass to ``svn``.
docstring_summary: Return options to be used on calls to Subversion that contact the server.
docstring_tokens: Return options to be used on calls to Subversion that contact the server .
function: def get_remote_call_options(self):
          # type: () -> CommandArgs
          """Return options to be used on calls to Subversion that contact the server.
  
          These options are applicable for the following ``svn`` subcommands used
          in this class.
  
              - checkout
              - export
              - switch
              - update
  
          :return: A list of command line arguments to pass to ``svn``.
          """
          if not self.use_interactive:
              # --non-interactive switch is available since Subversion 0.14.4.
              # Subversion < 1.8 runs in interactive mode by default.
              return ['--non-interactive']
  
          svn_version = self.get_vcs_version()
          # By default, Subversion >= 1.8 runs in non-interactive mode if
          # stdin is not a TTY. Since that is how pip invokes SVN, in
          # call_subprocess(), pip must pass --force-interactive to ensure
          # the user can be prompted for a password, if required.
          #   SVN added the --force-interactive option in SVN 1.8. Since
          # e.g. RHEL/CentOS 7, which is supported until 2024, ships with
          # SVN 1.7, pip should continue to support SVN 1.7. Therefore, pip
          # can't safely add the option if the SVN version is < 1.8 (or unknown).
          if svn_version >= (1, 8):
              return ['--force-interactive']
  
          return []
function_tokens: def get_remote_call_options ( self ) : # type: () -> CommandArgs if not self . use_interactive : # --non-interactive switch is available since Subversion 0.14.4. # Subversion < 1.8 runs in interactive mode by default. return [ '--non-interactive' ] svn_version = self . get_vcs_version ( ) # By default, Subversion >= 1.8 runs in non-interactive mode if # stdin is not a TTY. Since that is how pip invokes SVN, in # call_subprocess(), pip must pass --force-interactive to ensure # the user can be prompted for a password, if required. #   SVN added the --force-interactive option in SVN 1.8. Since # e.g. RHEL/CentOS 7, which is supported until 2024, ships with # SVN 1.7, pip should continue to support SVN 1.7. Therefore, pip # can't safely add the option if the SVN version is < 1.8 (or unknown). if svn_version >= ( 1 , 8 ) : return [ '--force-interactive' ] return [ ]