]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
- The distutils sdist command now ignores all .svn directories, in
authorMatthias Klose <doko@ubuntu.com>
Mon, 16 Aug 2004 12:15:00 +0000 (12:15 +0000)
committerMatthias Klose <doko@ubuntu.com>
Mon, 16 Aug 2004 12:15:00 +0000 (12:15 +0000)
  addition to CVS and RCS directories.  .svn directories hold
  administrative files for the Subversion source control system.

Lib/distutils/command/sdist.py
Misc/NEWS

index 0a29addba61a30f9027bf0c7f6a34211c7f2a97d..24de6e024e1436b60b583f357c08c35d094ec8b8 100644 (file)
@@ -354,7 +354,7 @@ class sdist (Command):
 
         self.filelist.exclude_pattern(None, prefix=build.build_base)
         self.filelist.exclude_pattern(None, prefix=base_dir)
-        self.filelist.exclude_pattern(r'/(RCS|CVS)/.*', is_regex=1)
+        self.filelist.exclude_pattern(r'/(RCS|CVS|\.svn)/.*', is_regex=1)
 
 
     def write_manifest (self):
index 91203b6426e594419960247e64d5d62f76da9b1e..f6add9259dc01a93cb9644dd052cdc5e6d59a41a 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -94,6 +94,10 @@ Library
 
 - Bug #891637, patch #1005466: fix inspect.getargs() crash on def foo((bar)).
 
+- The distutils sdist command now ignores all .svn directories, in
+  addition to CVS and RCS directories.  .svn directories hold
+  administrative files for the Subversion source control system.
+
 Tools/Demos
 -----------