parameters: ()
docstring: Returns the content of [auto-props] section of Subversion's config file as
    a dictionary.
  
    Returns:
      A dictionary whose key-value pair corresponds the [auto-props] section's
        key-value pair.
      In following cases, returns empty dictionary:
        - config file doesn't exist, or
        - 'enable-auto-props' is not set to 'true-like-value' in [miscellany].
docstring_summary: Returns the content of [auto-props] section of Subversion's config file as
    a dictionary.
docstring_tokens: Returns the content of [ auto - props ] section of Subversion s config file as a dictionary .
function: def LoadSubversionAutoProperties():
    """Returns the content of [auto-props] section of Subversion's config file as
    a dictionary.
  
    Returns:
      A dictionary whose key-value pair corresponds the [auto-props] section's
        key-value pair.
      In following cases, returns empty dictionary:
        - config file doesn't exist, or
        - 'enable-auto-props' is not set to 'true-like-value' in [miscellany].
    """
    if os.name == 'nt':
      subversion_config = os.environ.get("APPDATA") + "\\Subversion\\config"
    else:
      subversion_config = os.path.expanduser("~/.subversion/config")
    if not os.path.exists(subversion_config):
      return {}
    config = ConfigParser.ConfigParser()
    config.read(subversion_config)
    if (config.has_section("miscellany") and
        config.has_option("miscellany", "enable-auto-props") and
        config.getboolean("miscellany", "enable-auto-props") and
        config.has_section("auto-props")):
      props = {}
      for file_pattern in config.options("auto-props"):
        props[file_pattern] = ParseSubversionPropertyValues(
          config.get("auto-props", file_pattern))
      return props
    else:
      return {}
function_tokens: def LoadSubversionAutoProperties ( ) : if os . name == 'nt' : subversion_config = os . environ . get ( "APPDATA" ) + "\\Subversion\\config" else : subversion_config = os . path . expanduser ( "~/.subversion/config" ) if not os . path . exists ( subversion_config ) : return { } config = ConfigParser . ConfigParser ( ) config . read ( subversion_config ) if ( config . has_section ( "miscellany" ) and config . has_option ( "miscellany" , "enable-auto-props" ) and config . getboolean ( "miscellany" , "enable-auto-props" ) and config . has_section ( "auto-props" ) ) : props = { } for file_pattern in config . options ( "auto-props" ) : props [ file_pattern ] = ParseSubversionPropertyValues ( config . get ( "auto-props" , file_pattern ) ) return props else : return { }