Message191928
See:
http://mail.python.org/pipermail/python-dev/2013-June/127068.html
The find command:
find $(srcdir) '(' -name '*.fdc' -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \
-o -name '*.orig' -o -name '*.rej' \
-o -name '*.bak' ')' \
-exec rm -f {} ';'
will walk into .hg (and other dot directories) and delete files there. The particular problem noted in the email was a filename beginning with '@'.
Some suggestions are to change it to:
find \( -type d -name .hg -prune \) -o ...
or
find $(srcdir)/[a-zA-Z]* ...
Other suggestions are included in the thread starting at the above link. These include deleting the find command, or using "hg purge".
I think that we have enough history of using and suggesting "make distclean" that we should just fix up the find command to do what it does now, but not recurse into any dot directories (.hg, .svn, .git, etc.). |
|
Date |
User |
Action |
Args |
2013-06-27 01:27:44 | eric.smith | set | recipients:
+ eric.smith |
2013-06-27 01:27:44 | eric.smith | set | messageid: <1372296464.66.0.963255474553.issue18312@psf.upfronthosting.co.za> |
2013-06-27 01:27:44 | eric.smith | link | issue18312 messages |
2013-06-27 01:27:43 | eric.smith | create | |
|