summaryrefslogtreecommitdiff
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
commit07cbe433c675c801616e98db0ca5460f95a64c85 (patch)
tree28693c34485ad0ebd4c9b971d1940a0774eea73d /setuptools/svn_utils.py
parent6ee69e4cf1ec16129eddb0455e5fc7640d04d07c (diff)
downloadpython-setuptools-bitbucket-07cbe433c675c801616e98db0ca5460f95a64c85.tar.gz
Tweaks to get everything to pass again.
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:]