Project Config settings roll back

40 views
Skip to first unread message

Mohan S

unread,
Jan 22, 2019, 10:09:41 AM1/22/19
to Repo and Gerrit Discussion
We are using Gerrit 2.15.2 version and for one of our Project access list modified by mistakenly. We need to roll back to previous(project configuration settings). Because we had custom settings. So is there any way do the same? Please assist.

David Pursehouse

unread,
Jan 23, 2019, 2:41:42 AM1/23/19
to Mohan S, Repo and Gerrit Discussion
On Wed, Jan 23, 2019 at 12:09 AM Mohan S <moha...@gmail.com> wrote:
We are using Gerrit 2.15.2 version and for one of our Project access list modified by mistakenly. We need to roll back to previous(project configuration settings). Because we had custom settings. So is there any way do the same? Please assist.

Project config is stored in git on the refs/meta/config branch.  If you find the commit(s) that correspond to the mistaken updates, you can simply revert them.

If the updates were done in the UI with the "save for review" option, you will be able to find the changes in the list of merged changes and revert via the UI.  Otherwise, you'll need to fetch the project's refs/meta/config branch and revert it locally with the git command line.

 

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mohan S

unread,
Jan 23, 2019, 11:26:47 PM1/23/19
to Repo and Gerrit Discussion
Thank you David. Through Gerrit GUI I am able to revert.
Reply all
Reply to author
Forward
0 new messages