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.
Created attachment 156084 [details] error message When the .hg/hgrc file contains a '%include' directive, Netbeans displays this error: "No default Pull path set for this project" hgrc file: %include ../mandatory.hgrc [paths] default = http://username@repo default-pull = http://username@repo mandatory.hgrc: [hooks] pretxncommit.msglen = if test `hg tip --template {desc} | wc -c` -ge 20; then exit 0; else echo 'too short commit message (min 20)'; exit 1; fi
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.