'Set `config` property from global import config and make
implied changes.'

def set_config(self, config):

    iconfig = dict(config)
    self.config = iconfig
    if iconfig['incremental']:
        iconfig['resume'] = False
    if (self.query is not None):
        iconfig['resume'] = False
        iconfig['incremental'] = False
    if iconfig['move']:
        iconfig['copy'] = False
        iconfig['link'] = False
        iconfig['hardlink'] = False
    elif iconfig['link']:
        iconfig['copy'] = False
        iconfig['move'] = False
        iconfig['hardlink'] = False
    elif iconfig['hardlink']:
        iconfig['copy'] = False
        iconfig['move'] = False
        iconfig['link'] = False
    if (not iconfig['copy']):
        iconfig['delete'] = False
    self.want_resume = config['resume'].as_choice([True, False, 'ask'])
