

def mark_new_bad_in_review(self, revision_id):
    "Mark the current version of the review branch as 'bad in review'."
    assert (revision_id.review_id_or_none() is None)

    def action():
        if (not self.is_new()):
            self._push_delete_tracking_branch()
        self._push_new(abdt_naming.WB_STATUS_BAD_INREVIEW, revision_id)
    self._tryloop(action, abdt_errident.MARK_NEW_BAD_IN_REVIEW)

dataset/ETHPy150Open bloomberg/phabricator-tools/py/abd/abdt_branch.py Branch.mark_new_bad_in_review/VarMisuse@16/49 `self`->`revision_id`