Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Functions | Variables
setuptools.svn_utils Namespace Reference

Classes

class  SvnInfo
 
class  Svn13Info
 
class  Svn15Info
 
class  SvnFileInfo
 
class  SVNEntriesFile
 
class  SVNEntriesFileText
 
class  SVNEntriesFileXML
 

Functions

def _run_command
 
def _get_entry_schedule
 
def _get_target_property
 
def _get_xml_data
 
def joinpath
 
def determine_console_encoding
 
def decode_as_string
 
def parse_dir_entries
 
def parse_externals_xml
 
def parse_external_prop
 
def parse_prop_file
 
def svn_finder
 

Variables

tuple _console_encoding = determine_console_encoding()
 

Function Documentation

def setuptools.svn_utils._get_entry_schedule (   entry)
private
def setuptools.svn_utils._get_target_property (   target)
private
def setuptools.svn_utils._get_xml_data (   decoded_str)
private
def setuptools.svn_utils._run_command (   args,
  stdout = _PIPE,
  stderr = _PIPE,
  encoding = None,
  stream = 0 
)
private
def setuptools.svn_utils.decode_as_string (   text,
  encoding = None 
)
Decode the console or file output explicitly using getpreferredencoding.
The text paraemeter should be a encoded string, if not no decode occurs
If no encoding is given, getpreferredencoding is used.  If encoding is
specified, that is used instead.  This would be needed for SVN --xml
output.  Unicode is explicitly put in composed NFC form.

--xml should be UTF-8 (SVN Issue 2938) the discussion on the Subversion
DEV List from 2007 seems to indicate the same.
def setuptools.svn_utils.determine_console_encoding ( )
def setuptools.svn_utils.joinpath (   prefix,
  suffix 
)
def setuptools.svn_utils.parse_dir_entries (   decoded_str)
Parse the entries from a recursive info xml
def setuptools.svn_utils.parse_external_prop (   lines)
Parse the value of a retrieved svn:externals entry.

possible token setups (with quotng and backscaping in laters versions)
    URL[@#] EXT_FOLDERNAME
    [-r#] URL EXT_FOLDERNAME
    EXT_FOLDERNAME [-r#] URL
def setuptools.svn_utils.parse_externals_xml (   decoded_str,
  prefix = '' 
)
Parse a propget svn:externals xml
def setuptools.svn_utils.parse_prop_file (   filename,
  key 
)
def setuptools.svn_utils.svn_finder (   dirname = '')

Variable Documentation

tuple setuptools.svn_utils._console_encoding = determine_console_encoding()

Copyright 2014 Google Inc. All rights reserved.