Commits

Tarek Ziadé committed 6ab9850

#1 Added compatibility with Subversion 1.6.

Comments (0)

Files changed (3)

 ----------------------------
 
 0.6final
+
+ * Added compatibility with Subversion 1.6.
+
  * Fixed a missing files problem when using Windows source distributions on
    non-Windows platforms, due to distutils not handling manifest file line
    endings correctly.

setuptools/command/egg_info.py

             data = f.read()
             f.close()
 
-            if data.startswith('9') or data.startswith('8'):
+            if data.startswith('10') or data.startswith('9') or data.startswith('8'):
                 data = map(str.splitlines,data.split('\n\x0c\n'))
-                del data[0][0]  # get rid of the '8' or '9'
+                del data[0][0]  # get rid of the '8' or '9' or '10'
                 dirurl = data[0][3]
                 localrev = max([int(d[9]) for d in data if len(d)>9 and d[9]]+[0])
             elif data.startswith('<?xml'):

setuptools/command/sdist.py

     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])