summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2004-08-16 12:15:00 (GMT)
committerMatthias Klose <doko@ubuntu.com>2004-08-16 12:15:00 (GMT)
commitf4c2c0c585d30dac8a85ef8637f7dc0a01f01fc3 (patch)
treeb62dfa154960e825ebf37899fe0e55b8e906b963
parente89d1b45f393bc29bc6dcefc921a84a803e1bc5a (diff)
downloadcpython-f4c2c0c585d30dac8a85ef8637f7dc0a01f01fc3.zip
cpython-f4c2c0c585d30dac8a85ef8637f7dc0a01f01fc3.tar.gz
cpython-f4c2c0c585d30dac8a85ef8637f7dc0a01f01fc3.tar.bz2
- 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.
-rw-r--r--Lib/distutils/command/sdist.py2
-rw-r--r--Misc/NEWS4
2 files changed, 5 insertions, 1 deletions
diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py
index 0a29add..24de6e0 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 91203b6..f6add92 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
-----------