Store Change-Id in notedb
This adds a 'Change-id' footer to the commit message of the refs/changes/XX/YYYY/meta notes branch when the change is created. Tests which manually insert new changes must be adapted so that the initial commit to the notes branch contains the Change-Id info. Change-Id: I4a8fde3da5458afab69b39230a6db117fbef8ab9 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -589,6 +589,7 @@ public class ConsistencyCheckerIT extends AbstractDaemonTest {
|
||||
ChangeUpdate u = changeUpdateFactory.create(
|
||||
changeControlFactory.controlFor(c, userFactory.create(adminId)));
|
||||
u.setBranch(c.getDest().get());
|
||||
u.setChangeId(c.getKey().get());
|
||||
u.commit();
|
||||
|
||||
return c;
|
||||
|
||||
Reference in New Issue
Block a user