def fill_repo_combo_box(self, exlude_list=None):
    self.repo_combo_box.clear()
    if (not exlude_list):
        exlude_list = []
    base_dirs = env_tactic.get_all_base_dirs()
    for (key, val) in base_dirs:
        if (val['value'][4] and (val['value'][3] not in exlude_list)):
            self.repo_combo_box.addItem(val['value'][1])
            self.repo_combo_box.setItemData((self.repo_combo_box.count() - 1), val)
    self.repo_combo_box.addItem('All Repos')
    current_repo = gf.get_value_from_config(cfg_controls.get_checkin(), 'repositoryComboBox')
    if current_repo:
        self.repo_combo_box.setCurrentIndex(current_repo)
def fill_repo_combo_box(self, exlude_list=None):
    self.repo_combo_box.clear()
    if (not exlude_list):
        exlude_list = []
    base_dirs = env_tactic.get_all_base_dirs()
    for (key, val) in base_dirs:
        if (val['value'][4] and (val['value'][3] not in exlude_list)):
            self.repo_combo_box.addItem(val['value'][1])
            self.repo_combo_box.setItemData((self.repo_combo_box.count() - 1), val)
    self.repo_combo_box.addItem('All Repos')
    current_repo = gf.get_value_from_config(cfg_controls.get_checkin(), 'repositoryComboBox')
    if current_repo:
        self.repo_combo_box.setCurrentIndex(current_repo)