New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 655226 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: ----
Type: Feature



Sign in to add a comment

Enable "allow content merges" for submit

Project Member Reported by tandrii@chromium.org, Oct 12 2016

Issue description

> Using Rebase UI option works just fine.
> So, can Submit operation learn from Rebase operation and do the 
> right thing automatically?

Rebase in the UI is always doing a content merge, submit only does a content merge if it is configured [1].

[1] https://gerrit-review.googlesource.com/Documentation/project-configuration.html#content_merge

I think for Rietveld we are doing essentially content merge in CQ right now. Also, bot_update rebases gerrit patch.
So maybe we should enable content_merge in submits for Chromium and other projects migrating from Rietveld to Gerrit.


See also internal b/31970251
 
Cc: aga...@chromium.org andyb...@chromium.org
Labels: Milestone-Launch
+agable@ +andybons@ WDYT?

Comment 2 by aga...@chromium.org, Oct 12 2016

Yes, we should enable "Allow content merges" so that 'submit' in the Gerrit UI most closely mirrors the current usage of "git cl land" for Rietveld.
I've enabled this on https://chromium-review.googlesource.com/#/admin/projects/infra

hence infra/infra should not require this any more.

Comment 4 by aga...@chromium.org, Jan 13 2017

Labels: -Milestone-Launch Milestone-Fishfood
Owner: aga...@chromium.org
Status: Assigned (was: Available)
Summary: Enable "allow content merges" for submit (was: Decide whether to allow content merges in submit)
Yes, we should enable content merge on submit. It is a safe setting for our use cases, and most closely mirrors the current Rietveld+CQ behavior.

To resolve this bug (with new title) I need to:
a) Audit all current fishfood repos to make sure they have this setting allowed; and
b) Add the setting to the template I use for upcoming onboardings.

Comment 5 by aga...@chromium.org, Feb 22 2017

Status: Fixed (was: Assigned)

Sign in to add a comment