At 08:51 AM 8/6/2005 -0400, Kevin Dangoor wrote:
I'm using svn 1.1.4 and I just confirmed that I have deleted files
(that are committed as deleted) in my .svn/entries files.

I've attached a patch that attempts to detect and ignore deleted entries; please let me know if it works for you.
Index: setuptools/command/sdist.py
===================================================================
RCS file: 
/cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command/sdist.py,v
retrieving revision 1.4
diff -u -r1.4 sdist.py
--- setuptools/command/sdist.py 9 Jul 2005 04:21:22 -0000       1.4
+++ setuptools/command/sdist.py 6 Aug 2005 16:23:18 -0000
@@ -84,7 +84,11 @@
     (convert_path('CVS/Entries'),
         re_finder(re.compile(r"^\w?/([^/]+)/", re.M))),
     (convert_path('.svn/entries'),
-        re_finder(re.compile(r'name="([^"]+)"'), unescape)),
+        re_finder(
+            re.compile(r'name="([^"]+)"(?![^>]+deleted="true")', re.I),
+            unescape
+        )
+    ),
     (convert_path('.svn/dir-props'), externals_finder),
 ]
 
@@ -117,7 +121,3 @@
 
 
 
-
-
-
-
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to