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: | Mercurial Annotate fails on files with spaces in them and files named like .hgignore | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | SirIntellegence |
Component: | Mercurial | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
SirIntellegence
2017-01-24 20:33:21 UTC
Are you on Windows? Yes. But the issue occurs on mac as well. If it helps, I looked at the code, and I do believe it is related to the regex used to parse the output from Mercurial. Just checking, is this being worked on? I propose the following regex as a replacement: ^\s*(\S+\b)\s+(\d+)\s+(\S.*?):\s*(\d+):\s(.*)$ Could you get that fixed soon please? This bug is annoying. I removed the \b from the pattern that matches files because it would fail on the files starting with punctuation. Apparently, you can pass -T json, and it will give you json output. TortoiseHg uses the pickle format. You should probably use one of those instead of relying on a regex to get you what you want. |