def run(self): log = repository.lastlogfilename() pager = os.environ.get('PAGER', common.platform_pager()) os.execvp(pager, (pager, log))