aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/svn_utils.py
diff options
context:
space:
mode:
authorPhilip Thiem <ptthiem@gmail.com>2013-07-20 19:15:23 -0500
committerPhilip Thiem <ptthiem@gmail.com>2013-07-20 19:15:23 -0500
commit469a541cb5fca1a161fdc888679c1868870c5c8e (patch)
treeb076d62f1c9cc8d073048fbca513fa69c148c057 /setuptools/svn_utils.py
parenta6e7ef0ae1e0ea1f147a2196efe7f2b82c301fe2 (diff)
downloadexternal_python_setuptools-469a541cb5fca1a161fdc888679c1868870c5c8e.tar.gz
external_python_setuptools-469a541cb5fca1a161fdc888679c1868870c5c8e.tar.bz2
external_python_setuptools-469a541cb5fca1a161fdc888679c1868870c5c8e.zip
Tweaks to get everything to pass again.
--HG-- extra : rebase_source : 352b6baf81e891d13f7310bbeb94d2cfce9dbad8
Diffstat (limited to 'setuptools/svn_utils.py')
-rw-r--r--setuptools/svn_utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/svn_utils.py b/setuptools/svn_utils.py
index 09aa5e25..17b211d7 100644
--- a/setuptools/svn_utils.py
+++ b/setuptools/svn_utils.py
@@ -121,6 +121,7 @@ def parse_dir_entries(decoded_str):
def parse_externals_xml(decoded_str, prefix=''):
'''Parse a propget svn:externals xml'''
prefix = os.path.normpath(prefix)
+ prefix = os.path.normcase(prefix)
doc = xml.dom.pulldom.parseString(_get_xml_data(decoded_str))
externals = list()
@@ -129,6 +130,9 @@ def parse_externals_xml(decoded_str, prefix=''):
if event == 'START_ELEMENT' and node.nodeName == 'target':
doc.expandNode(node)
path = os.path.normpath(node.getAttribute('path'))
+ log.warn('')
+ log.warn('PRE: %s' % prefix)
+ log.warn('PTH: %s' % path)
if os.path.normcase(path).startswith(prefix):
path = path[len(prefix)+1:]