diff options
| author | Matthias Klose <doko@ubuntu.com> | 2004-08-16 12:15:00 (GMT) |
|---|---|---|
| committer | Matthias Klose <doko@ubuntu.com> | 2004-08-16 12:15:00 (GMT) |
| commit | f4c2c0c585d30dac8a85ef8637f7dc0a01f01fc3 (patch) | |
| tree | b62dfa154960e825ebf37899fe0e55b8e906b963 | |
| parent | e89d1b45f393bc29bc6dcefc921a84a803e1bc5a (diff) | |
| download | cpython-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.py | 2 | ||||
| -rw-r--r-- | Misc/NEWS | 4 |
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): @@ -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 ----------- |
