how to check a particular patchset is present in multiple branches or not in a repo

18 views
Skip to first unread message

Narendra Choudhary

unread,
Sep 22, 2016, 9:55:26 PM9/22/16
to Repo and Gerrit Discussion
Hi All

I have a condition to verify that a particular patchset should be present or not in a particular branch or not ?

Can you please let me know how should i verify it .

For eg i have one branch as master and other is as release when ever they are new patchset or commit happened i need to check whether if is already present or not ,,, If it is not present then i have to restrict user for the same.

Commit may be different as multiple time user cherry-pick the commit from one branch to another


Thanks in advance.

Regards
Narendra

Saša Živkov

unread,
Sep 23, 2016, 10:06:25 AM9/23/16
to Narendra Choudhary, Repo and Gerrit Discussion
On Fri, Sep 23, 2016 at 3:55 AM, Narendra Choudhary <choudhar...@gmail.com> wrote:
Hi All

I have a condition to verify that a particular patchset should be present or not in a particular branch or not ?

In Gerrit UI, click the "Included In" drop-down to find the list of branches where this change is merged into.


Can you please let me know how should i verify it .

For eg i have one branch as master and other is as release when ever they are new patchset or commit happened i need to check whether if is already present or not ,,, If it is not present then i have to restrict user for the same.

Commit may be different as multiple time user cherry-pick the commit from one branch to another

For such changes Gerrit UI displays the "Cherry Picks" list which shows all cherry-picks of that change.



Thanks in advance.

Regards
Narendra

--
--
To unsubscribe, email repo-discuss+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages