Reputation: 1479
I have review A that has been dependent on the review B. Review B has been merged.
My goal is to get rid of dependencies from review A, namely remove B, then switch to the last master changes.
I am a new in such staff. Will be good to know, in which way it can be achived(Usefull link or some manual).
I've tried to find in the http://www.mediawiki.org/wiki/Gerrit/Advanced_usage, but I didn't find any related doc.
Upvotes: 0
Views: 82
Reputation: 5532
If Review B has been merged, the easiest solution is to click the Rebase
button on the Review page for change A. This will rebase A on to the tips of master for you automatically.
If you don't have permissions to do this (don't see the Rebase
button on the change page), or just want to do it by hand, it is fairly easy:
git fetch && git reset --hard && git checkout origin/master
(assuming you are using the master
branch - change the branch name otherwise)Your new version of change A will be at tips of master and won't depend on the outdated change B any more.
Upvotes: 1