def using_bzr(cwd):
    try:
        bzr_log = shell_out(["bzr", "log"], cwd=cwd)
        return True
    except (CalledProcessError, OSError):
        return False
Test whether the directory cwd is contained in a bazaar repository.
dataset/ETHPy150Open hayd/pep8radius/pep8radius/vcs.py/using_bzr