On Mar 5, 2011, at 8:44 AM, Antoine Pitrou wrote:

> On Sat, 5 Mar 2011 08:36:04 -0800
> Daniel Stutzbach <stutzb...@google.com> wrote:
> 
>> On Sat, Mar 5, 2011 at 5:54 AM, Tim Delaney 
>> <timothy.c.dela...@gmail.com>wrote:
>> 
>>> If those were to be removed from .hgignore then there would be a high
>>> likelihood of someone doing "hg addremove" and inadvertently tracking them.
>>> The purpose of .hgignore is to prevent inadventently tracking files that
>>> shouldn't be tracked.
>>> 
>> 
>> If the goal is to prevent something from being committed, shouldn't the
>> check go in a pre-commit hook instead?
> 
> Well, it's more user-friendly to help "hg addremove" work as expected,
> rather than add hooks down the line to forbid pushing any mistakes.

I concur.


Raymond

_______________________________________________
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

Reply via email to