'Forces SickRage to update to the latest version and exit.
:return: True if successful, False otherwise'

@staticmethod
def force_update():

    def update_with_git():
        def run_git(updater, cmd):
            (stdout_, stderr_, exit_status) = updater._run_git(updater._git_path, cmd)
            if (not (exit_status == 0)):
                print(u'Failed    to    run    command:    {0}    {1}'.format(updater._git_path, cmd))
                return False
            else:
                return True
        updater = GitUpdateManager()
        if (not run_git(updater, u'config    remote.origin.url    https://github.com/SickRage/SickRage.git')):
            return False
        if (not run_git(updater, u'fetch    origin')):
            return False
        if (not run_git(updater, u'checkout    master')):
            return False
        if (not run_git(updater, u'reset    --hard    origin/master')):
            return False
        return True
    if ek(os.path.isdir, ek(os.path.join, sickbeard.PROG_DIR, u'.git')):
        print(u'Forcing    SickRage    to    update    using    git...')
        result = update_with_git()
        if result:
            print(u'Successfully    updated    to    latest    commit.    You    may    now    run    SickRage    normally.')
            return True
        else:
            print(u'Error    while    trying    to    force    an    update    using    git.')
    print(u'Forcing    SickRage    to    update    using    source...')
    if (not SourceUpdateManager().update()):
        print(u'Failed    to    force    an    update.')
        return False
    print(u'Successfully    updated    to    latest    commit.    You    may    now    run    SickRage    normally.')
    return True
