Export rewrite_parents() for 'log -L'