On 6/26/2013 8:18 AM, Eric V. Smith wrote: > On 6/26/2013 6:43 AM, a.cava...@cavallinux.eu wrote: >> .. or having hg "purging" unwanted build artifact (probably cleaning up >> the .hgignore file first) > > How would that work? How could hg purge the .bak, .orig, .rej, .old, > etc. files? > >>>> 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, > etc. Maybe find $(srcdir)/[a-zA-Z]* ... would be good enough to ignore > all dot directories/files? >
Sorry for the mis-attribution. "Yours" refers to Oleg. -- Eric. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com