SonarQubeCommunity / sonar-scm-mercurial

SonarQube Mercurial plugin
4 stars 7 forks source link

Disable binary file detection for blame #4

Open christophelevis opened 8 years ago

christophelevis commented 8 years ago

By default blame command will detect binary files (based on the presence of a NUL character) and skip blame computation:

$ hg blame -w -v --user --date --changeset src/main/java/org/openjdk/jcstress/tests/accessAtomic/arrays/large/plain/CharTest.java src/main/java/org/openjdk/jcstress/tests/accessAtomic/arrays/large/plain/CharTest.java: binary file

In SonarQube context we expect all files to be text files so we could disable this check by using the -a parameter: https://selenic.com/hg/help/annotate

simonbrandhof commented 6 years ago

Ticket moved to https://jira.sonarsource.com/browse/SONARHG-5

pmishka commented 11 months ago

Hello, is there any solution for this issue?