pub fn init_existing( working: Repository, rid: RepoId, options: Options, profile: &Profile, ) -> Result<()>