Skip to Content
Author's profile photo Daniel Wroblewski

How to Fetch from Gerrit in SAP Web IDE

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.


Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.