|
Orbits
1
|
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() |
|
private |
|
private |
|
private |
|
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 = '' | ) |
| tuple setuptools.svn_utils._console_encoding = determine_console_encoding() |
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.