- logging.debug('Checking if rev %s is an ancestor of ref "%s"', rev, ref)
- process = subprocess.run(
- ['git', '-C', cachedir, 'merge-base', '--is-ancestor', rev, ref], check=False)
+ logging.debug('Checking if %s is an ancestor of %s', ancestor, descendant)
+ process = subprocess.run(['git',
+ '-C',
+ cachedir,
+ 'merge-base',
+ '--is-ancestor',
+ ancestor,
+ descendant],
+ check=False)