in fluent/migrate/tool.py [0:0]
def commit_changeset(self, description_template: str, author: str, index: int):
message = description_template.format(index=index, author=author)
print(f" Committing changeset: {message}")
if self.dry_run:
return
try:
self.client.commit(message, author)
except Exception as err:
print(
" \x1b[1;37;41mWARNING:\x1b[0m", # bright white fg, red bg
f"\x1b[1;31mcommit failed ({err})\x1b[0m", # bright red fg
)