

def update_track(track_dict):
    for (key, value) in DEFAULT_TEMPLATE.items():
        if (key in ['actions']):
            if (track_dict[key] != DEFAULT_TEMPLATE[track_dict]):
                warning("Your track's '{0}' configuration is not the same as the default.".format(key))
                default = 'n'
                if (key == 'actions'):
                    default = 'y'
                    warning("Unless you have manually modified your 'actions' (the commands which get run for a release), you should update to the new default.")
                warning('Should it be updated to the default setting?')
                if maybe_continue(default):
                    track_dict[key] = DEFAULT_TEMPLATE[key]
        elif (key not in track_dict):
            value = (value.default if isinstance(value, PromptEntry) else value)
            track_dict[key] = value
    return track_dict

dataset/ETHPy150Open ros-infrastructure/bloom/bloom/commands/git/config.py update_track/VarMisuse@45/57 `key`->`track_dict`