diff options
author | Tarek Ziadé <tarek@ziade.org> | 2009-07-16 11:04:39 +0200 |
---|---|---|
committer | Tarek Ziadé <tarek@ziade.org> | 2009-07-16 11:04:39 +0200 |
commit | ea777e738fc4b9bfb1e019ff606cd0941c28d531 (patch) | |
tree | 82c4fb185c6d91b16f17ac8c8960fd5528c82d55 /setuptools/command/sdist.py | |
parent | 4e3c89af488a7554f3caf18f203d36624c52464e (diff) | |
download | external_python_setuptools-ea777e738fc4b9bfb1e019ff606cd0941c28d531.tar.gz external_python_setuptools-ea777e738fc4b9bfb1e019ff606cd0941c28d531.tar.bz2 external_python_setuptools-ea777e738fc4b9bfb1e019ff606cd0941c28d531.zip |
#1 Added compatibility with Subversion 1.6.
--HG--
branch : distribute
extra : rebase_source : 40579bb8174f21d24968ce698711c66f624c0839
Diffstat (limited to 'setuptools/command/sdist.py')
-rwxr-xr-x | setuptools/command/sdist.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py index 5bd5ebd4..9f692493 100755 --- a/setuptools/command/sdist.py +++ b/setuptools/command/sdist.py @@ -86,8 +86,9 @@ def entries_finder(dirname, filename): f = open(filename,'rU') data = f.read() f.close() - if data.startswith('9') or data.startswith('8'): # subversion 1.5/1.4 + if data.startswith('10') or data.startswith('9') or data.startswith('8'): for record in map(str.splitlines, data.split('\n\x0c\n')[1:]): + # subversion 1.6/1.5/1.4 if not record or len(record)>=6 and record[5]=="delete": continue # skip deleted yield joinpath(dirname, record[0]) |