in de/cli.py [0:0]
def revisions(files, target_dir):
"""Checkout all revisions of the given files and calculate the deduplication ratio."""
target_dir = Path("revisions") if target_dir is None else Path(target_dir)
target_dir.mkdir(exist_ok=True)
for file_path in files:
checkout_file_revisions(file_path, target_dir=target_dir)