

def describe(self):
    'Return a string description of this branch for a human to read.'
    branch_description = '(null branch)'
    if (not self.is_null()):
        branch_description = self.review_branch_name()
        if self.is_abandoned():
            branch_description += ' (abandoned)'
    return '{}, {}'.format(self.get_repo_name(), branch_description)

dataset/ETHPy150Open bloomberg/phabricator-tools/py/abd/abdt_branch.py Branch.describe/original