diff --git a/perfact/zodbsync/subcommand.py b/perfact/zodbsync/subcommand.py index 3baa39f..914997a 100644 --- a/perfact/zodbsync/subcommand.py +++ b/perfact/zodbsync/subcommand.py @@ -345,7 +345,14 @@ def wrapper(self, *args, **kwargs): head_commit = self.gitcmd_output( "rev-parse", "HEAD" ).strip() - self.logger.info(f"{self.orig_commit}..{head_commit}") + cmd = ( + f'zodbsync exec "git revert ' + f'{self.orig_commit}..{head_commit}"' + ) + self.logger.info( + "Prepared Command for Rollback:\n%s", + cmd, + ) return wrapper