Merge branch 'stable-2.16' into stable-3.0 * stable-2.16: ReplicationIT: fix flakiness of shouldReplicateNewBranch ReplicationIT: remove dependency of ReviewDb/NoteDb ReplicationIT: Add a test that HEAD update is replicated ReplicationIT#shouldReplicateNewBranch: Create branch on local project ReplicationIT: Don't swallow exceptions on failed repository operations ReplicationIT: Fix typo in method name AdminApi: Reintroduce return value of methods Store replication tasks instead of ref-update events ReplicationIT: Don't swallow exceptions on failed repository operations ReplicationIT: Add explicit test for replication of new branch ReplicationIT: Change test method name to reflect actual operation Allow AdminApiFactory to be replaced dynamically Adapt project creation to use ProjectOperations. Change-Id: I3d9cd916be200f1935be2a60d9a4e715e4b859a3