This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
1. Create a project. 2. Add several file to the project. 3. Create a Mercurial repository for this project. 4. In the Projects window, select the project name. 5. In the main menu, choose Versioning->Commit... 6. Press Commit in the appeared dialog. Result: .hgignore file is committed. It shouldn't.
well, the .hgignore file is listed in the commit dialog and it is up to the user if he decides to commit it or not - click on the relevant cell in the 'comit action' column and choose exclude.
I disagree. When user asks IDE to commit all project's files, he expects that it will commit files which are really part of project. He may even don't know about .hgignore, and he will NEVER want .hgignore to be committed, because it makes no sense. So it's up to IDE to exclude .hgignore from the list. In my opinion, at least it should have unchecked commit flag, but the better choice would be not to show .hgignore in the list at all.
> he will NEVER want .hgignore to be committed, because it makes no sense. definitely don't think so. It may easily happen that there is a wish and need to share the ignore settings as they may be of general use in the whole project infrastructure and believe me, many projects do - e.g. netbeans. Not giving the user a chance to commit the file would be wrong. agree on the point that the file is easy to overlook in the commit dlg - we should reconsider a way how to made it more explicit if it has to be committed or not.