[Python-Dev] .hgignore including site-packages and scripts directories?
Antoine Pitrou
solipsis at pitrou.net
Wed Mar 30 13:01:06 CEST 2011
On Wed, 30 Mar 2011 12:17:05 +1100
Mark Hammond <mhammond at skippinet.com.au> wrote:
> On 30/03/2011 12:09 PM, R. David Murray wrote:
> > On Wed, 30 Mar 2011 11:11:45 +1100, Mark Hammond<mhammond at skippinet.com.au> wrote:
> >> I'm wondering if it is a reasonable idea to have .hgignore exclude all
> >> files from 'Lib/site-packages' and 'Scripts'? As I install packages
> >> into my source builds, a 'hg status' lists *many* files in both those
> >> directories forcing me to scroll up a number of pages to see files which
> >> have actually changed.
> >
> > I hardly ever install things into my source build. The first time I've
> > done that, in fact, was to run coverage.
>
> Windows doesn't really have an install process integrated into the
> build, so it is probably fairly common there.
>
> > The solution is to add such
> > directories and/or files to your personal ignore list See the 'ignore'
> > entry under 'ui' in the hgrc documentation.
>
> Yeah - but I was wondering if it could be made more convenient by
> default given the downside seems quite small...
I don't see any downside myself.
Regards
Antoine.
More information about the Python-Dev
mailing list