Author eric.smith
Recipients eric.smith
Date 2013-06-27.01:27:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372296464.66.0.963255474553.issue18312@psf.upfronthosting.co.za>
In-reply-to
Content
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.).
History
Date User Action Args
2013-06-27 01:27:44eric.smithsetrecipients: + eric.smith
2013-06-27 01:27:44eric.smithsetmessageid: <1372296464.66.0.963255474553.issue18312@psf.upfronthosting.co.za>
2013-06-27 01:27:44eric.smithlinkissue18312 messages
2013-06-27 01:27:43eric.smithcreate