Run file_data_filter on deleted files
commitddfc3a83003ad960c429e939dfc9eb3771bb2290
authorFrej Drejhammar <frej.drejhammar@gmail.com>
Fri, 16 Feb 2024 16:12:49 +0000 (16 17:12 +0100)
committerFrej Drejhammar <frej.drejhammar@gmail.com>
Fri, 16 Feb 2024 16:12:49 +0000 (16 17:12 +0100)
tree9d8cb7bdafa46ffaa775bab8911d8b3799dd513e
parent21ab3f347b3a637297fd0c3456a4c0c59b955b51
Run file_data_filter on deleted files

The `file_data_filter` method should be called when files are deleted.
In this case the `data` and `file_ctx` keys map to None. This is so
that a filter which modifies file names can apply the same name
transformations before files are deleted.
README.md
hg-fast-export.py
t/file_data_filter.expected [new file with mode: 0644]
t/file_data_filter.t [new file with mode: 0755]
t/plugins/rename_file_test_plugin/__init__.py [new file with mode: 0644]