Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Dan_Wroblewski
Developer Advocate
Developer Advocate
919
There has been some confusion as to how to fetch a change from Gerrit. Specifically, the question comes done to what to put in the box when you click Fetch from Gerrit in the Git Pane of SAP Web IDE.



Thanks for michal.keidar for her answer on the community's Answers platform. I'm reiterating it here because just today I received another comment from a developer who was confused about what to enter.

You put in the ref for the change, in the format refs/changes/dd/nnnnnnn/p, where:

  • dd is the last 2 digits of the change ID

  • nnnnnnn is the change ID

  • p is the patch set


Fortunately, you go to the Gerrit UI for your change, and click download, where you can see this ref. In our UI, we can get it from the EGit line, but you can also see it in the other lines, like in the Checkout line.



I have already updated the documentation and we are planning to add a note to the UI.

If you want more information, on this, the full Gerrit workflow, or anything else, feel free to leave a comment.