-
Notifications
You must be signed in to change notification settings - Fork 233
Open
Labels
Description
Using the SVN log format mentioned in the README file for code-maat:
svn log -v --xml > logfile.log -r {YYYYmmDD}:HEAD
I have encountered the following error:
$ maat -l ~/workspace/project/logfile.log -c svn -a abs-churn
java.lang.IllegalArgumentException: Internal error - please report it. Details = churn analysis: the given VCS data doesn't contain modification metrics. Check the code-maat docs for supported VCS and correct log format.
at code_maat.app.app$throw_internal_error.invoke(app.clj:158)
at code_maat.app.app$run_with_recovery_point.invoke(app.clj:167)
at code_maat.app.app$run.invoke(app.clj:188)
at code_maat.cmd_line$_main.doInvoke(cmd_line.clj:63)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at code_maat.cmd_line.main(Unknown Source)
Error: Internal error - please report it. Details = churn analysis: the given VCS data doesn't contain modification metrics. Check the code-maat docs for supported VCS and correct log format.
This issue arises from the choice of using SVN's XML log format, which does not support reporting the diffs. The text format supports diffs but may be harder to parse.