get ready the repository edit function.