Closed hetas closed 6 months ago
And if there is no files I don't know how the shell_filter_file_contents-plugin get's invoked in the first place.
It was introduced by #318 and is even documented in the readme :), #328 should fix it.
Closed by #328.
Running the content filter with --filter-contents fails for me with this error message
I was running hg-fast-export on Windows Subsystem for Linux.
Judging by the state of the conversion at the point of failure it seems that a branch opening commit without files is causing this.
I was able to get passed the error with this patch
I can create a pull request for this patch, but I'm not sure if this is the right place for this fix. It seems that in hg-fast-export.py::export_file_contents files for the commits are iterated. And if there is no files I don't know how the shell_filter_file_contents-plugin get's invoked in the first place. And I don't really have time to investige further at this point.