git-filter-repo/t/t9391/erroneous.py
Elijah Newren 30228bdde2 filter-repo: add tests triggering callback sanity checks
Signed-off-by: Elijah Newren <newren@gmail.com>
2019-04-29 09:56:38 -07:00

17 lines
388 B
Python
Executable File

#!/usr/bin/env python
"""
Please see the
***** API BACKWARD COMPATIBILITY CAVEAT *****
near the top of git-filter-repo
"""
import git_filter_repo as fr
def handle_tag(tag):
print("Decipher this: "+''.join(reversed(progress.message)))
args = fr.FilteringOptions.parse_args(['--force', '--tag-callback', 'pass'])
filter = fr.RepoFilter(args, tag_callback = handle_tag)
filter.run()