[Python-Dev] .hgignore (was: Mercurial conversion repositories)

Daniel Stutzbach stutzbach at google.com
Sat Mar 5 17:36:04 CET 2011


On Sat, Mar 5, 2011 at 5:54 AM, Tim Delaney <timothy.c.delaney at 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?

-- 
Daniel Stutzbach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110305/c9f3cfe8/attachment.html>


More information about the Python-Dev mailing list