This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients eric.araujo, orsenthil, r.david.murray
Date 2011-06-24.22:55:12
SpamBayes Score 5.5934624e-08
Marked as misclassified No
Message-id <1308956113.55.0.502428890665.issue12255@psf.upfronthosting.co.za>
In-reply-to
Content
Your experiments with .hgignore and your thoughts about server vs. clone .hgignore give me the impression of a misunderstanding of how it works.

To clarify: The repo .hgignore file is a repo-specific listing of patterns to ignore.  As such, it needs to be shared, i.e. put under version control.

The ignore files (the repo .hgignore and optional files configured in ~/.hgrc or $SOMECLONE/.hg/hgrc) are consulted only for some commands:

- hg status (ignored files are not considered unknown)
- hg add . (a recursive add does not consider ignored files)
- hg addremove (etc.)

This explains why putting .hgignore in the .hgignore file cannot possibly work.

If *.rej and *.orig are ignored, they don’t show up in “hg status”, and are not added with “hg add somedir”.  My point is that this behavior is not useful: it does not protect from anything (who adds directories when merging changesets?  also, who does not run status and diff before commit?  they should), and does not help us check whether we’ve properly merged all files.  I prefer to see the *.rej files in hg status output, check them and delete them.

So, can I commit?  I’m willing to update the devguide and reply to possibly angry python-dev feedback with an explanation of how to ignore those files on a per-user or per-clone basis.
History
Date User Action Args
2011-06-24 22:55:13eric.araujosetrecipients: + eric.araujo, orsenthil, r.david.murray
2011-06-24 22:55:13eric.araujosetmessageid: <1308956113.55.0.502428890665.issue12255@psf.upfronthosting.co.za>
2011-06-24 22:55:13eric.araujolinkissue12255 messages
2011-06-24 22:55:12eric.araujocreate