text: public virtual void Update(Config rc){IList<string> vlst = new AList<string>();vlst.Clear();foreach (URIish u in URIs){vlst.AddItem(u.ToPrivateString());}rc.SetStringList(SECTION, Name, KEY_URL, vlst);vlst.Clear();foreach (URIish u_1 in PushURIs){vlst.AddItem(u_1.ToPrivateString());}rc.SetStringList(SECTION, Name, KEY_PUSHURL, vlst);vlst.Clear();foreach (RefSpec u_2 in FetchRefSpecs){vlst.AddItem(u_2.ToString());}rc.SetStringList(SECTION, Name, KEY_FETCH, vlst);vlst.Clear();foreach (RefSpec u_3 in PushRefSpecs){vlst.AddItem(u_3.ToString());}rc.SetStringList(SECTION, Name, KEY_PUSH, vlst);Set(rc, KEY_UPLOADPACK, UploadPack, DEFAULT_UPLOAD_PACK);Set(rc, KEY_RECEIVEPACK, ReceivePack, DEFAULT_RECEIVE_PACK);Set(rc, KEY_TAGOPT, TagOpt.Option(), NGit.Transport.TagOpt.AUTO_FOLLOW.Option());Set(rc, KEY_MIRROR, mirror, DEFAULT_MIRROR);Set(rc, KEY_TIMEOUT, timeout, 0);if (!oldName.Equals(name)){rc.UnsetSection(SECTION, oldName);oldName = name;}}