From: Matthias Klose Date: Mon, 16 Aug 2004 12:15:00 +0000 (+0000) Subject: - The distutils sdist command now ignores all .svn directories, in X-Git-Tag: v2.3.5c1~133 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4c2c0c585d30dac8a85ef8637f7dc0a01f01fc3;p=thirdparty%2FPython%2Fcpython.git - 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. --- diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py index 0a29addba61a..24de6e024e14 100644 --- a/Lib/distutils/command/sdist.py +++ b/Lib/distutils/command/sdist.py @@ -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): diff --git a/Misc/NEWS b/Misc/NEWS index 91203b6426e5..f6add9259dc0 100644 --- 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 -----------