A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-March/108737.html below:

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

[Python-Dev] .hgignore (was: Mercurial conversion repositories) [Python-Dev] .hgignore (was: Mercurial conversion repositories)Antoine Pitrou solipsis at pitrou.net
Sat Mar 5 17:44:04 CET 2011
On Sat, 5 Mar 2011 08:36:04 -0800
Daniel Stutzbach <stutzbach at google.com> wrote:

> 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?

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.

Regards

Antoine.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4