Merge branch 'stable-2.15'

* stable-2.15:
  Fix submit on push for same commit on multiple branches

Change-Id: I411b1854d353988fe82e84dfb0722248a577060f
This commit is contained in:
David Pursehouse
2017-12-13 08:26:29 +09:00
4 changed files with 69 additions and 14 deletions

View File

@@ -1555,4 +1555,10 @@ public abstract class AbstractDaemonTest {
protected void fail() throws Exception {
assert_().fail();
}
protected void enableCreateNewChangeForAllNotInTarget() throws Exception {
ProjectConfig config = projectCache.checkedGet(project).getConfig();
config.getProject().setCreateNewChangeForAllNotInTarget(InheritableBoolean.TRUE);
saveProjectConfig(project, config);
}
}