[PATCH] hgignore: ignore the PyCharm workspace folder

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Oct 13 13:46:43 CDT 2014



On 10/13/2014 05:59 AM, Angel Ezquerra wrote:
>
> El 13/10/2014 14:14, "Mads Kiilerich" <mads at kiilerich.com
> <mailto:mads at kiilerich.com>> escribió:
>  >
>  > On 10/13/2014 11:48 AM, Angel Ezquerra wrote:
>  >>
>  >> # HG changeset patch
>  >> # User Angel Ezquerra <angel.ezquerra at gmail.com
> <mailto:angel.ezquerra at gmail.com>>
>  >> # Date 1413193564 -7200
>  >> #      Mon Oct 13 11:46:04 2014 +0200
>  >> # Node ID a175222b250090e80a6047979451bfdbaf04267c
>  >> # Parent  76a648d782cfadf1dac3dbc194a8ffc74c385cb5
>  >> hgignore: ignore the PyCharm workspace folder
>  >>
>  >> diff -r 76a648d782cf -r a175222b2500 .hgignore
>  >> --- a/.hgignore Tue Sep 02 09:01:47 2014 +0200
>  >> +++ b/.hgignore Mon Oct 13 11:46:04 2014 +0200
>  >> @@ -42,6 +42,7 @@
>  >>   .DS_Store
>  >>   tags
>  >>   cscope.*
>  >> +.idea/*
>  >>   i18n/hg.pot
>  >>   locale/*/LC_MESSAGES/hg.mo
>  >>   hgext/__index__.py
>  >
>  >
>  > It doesn't work at scale to add ignore patterns for every single IDE
> out there. Especially not partly proprietary ones. Wouldn't it be better
> if pycharm users put this in their ui.ignore file?
>  >
>  > /Mads
>  >
>
> I see your point but the reality is that there are not that many Python
> IDEs with a large user base. I could name 4 or 5 IDEs that are really
> popular. If we include some popular text editors the list could maybe be
> extended to about a dozen. Would adding that many extra lines to
> mercurial's hgignore file be a problem, considering that they would be
> added on a case by case basis (i.e. when someone sent a patch such as
> this one)?
>
> Anyway, I can see your point. I'd prefer having this in, but if you guys
> don't feel the same that would be ok too.

Not fan of adding all possibles IDE there. But we already have ignores 
for emacs and vim file. I can see Angel point about popular IDE. +0 on this.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list