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.
Summary: | Error when hgrc file contains an %include directive | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | ricktw <ricktw> |
Component: | Mercurial | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | NEW --- | ||
Severity: | normal | CC: | mienamoo, PhoneixS |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | error message |
Description
ricktw
2015-09-11 08:04:45 UTC
You need to flush the cache (~/.cache/netbeans) and restart Netbeans in order to reproduce this issue. *** Bug 215440 has been marked as a duplicate of this bug. *** right, we do not support %includes. ... and are not planning to? Maybe this bug should change to enhancement then? (In reply to ricktw from comment #4) > ... and are not planning to? well... not really. We'd need to write our own parser for hg config files, currently we use ini4j parser which is not that competent. How often do you think people use %include directives? For the last several years we've had just two complaints about this, so i am not sure how critical this is to resolve. I think this should be done. Maybe you don't need to parse the imported file, but at least you should ignore the line so it parses the rest of the file. Nowadays if the file has a '%include' you can't change the Mercurial Team properties because it can't save the changes back to the file. So although it doesn't affect many people, when it affects, it's very disturbing. |