On 6/26/2013 9:02 AM, Eric V. Smith wrote:
On 6/26/2013 8:44 AM, Oleg Broytman wrote:
On Wed, Jun 26, 2013 at 08:18:27AM -0400, "Eric V. Smith"
wrote: find $(srcdir)/* ...
to avoid this problem. It won't expand the .hg top-level directory.
Or find \( -type d -name .hg -prune \) -o ...
I'm torn. Yours is more obvious, but we'd likely need to add .svn, .git,
How many of those dot-files/directories are there beside .*ignore?
That's all I can think of. And the files don't matter in this case, anyway. So probably just .svn, .hg, .git is all we'd need.
etc. Maybe find $(srcdir)/[a-zA-Z]* ... would be good enough to ignore all dot directories/files?
On the other hand yes, I think it'd be enough.
I can go either way.
I created http://bugs.python.org/issue18312 to track this. -- Eric.