improved 'repo_set_password' in file_edit & events