Когда я добавляю ветку на веб-странице Gerrit, журнал репликации будет:
[2018-05-28 19:29:54,076] [] scheduling replication gerrit_test_only:refs/heads/release/v0.0.1 => git@192.168.0.224:fund-wuhan/gerrit_test_only.git
[2018-05-28 19:29:54,077] [] scheduled gerrit_test_only:refs/heads/release/v0.0.1 => [96bab7ae] push git@192.168.0.224:fund-wuhan/gerrit_test_only.git to run after 15s
[2018-05-28 19:30:09,077] [96bab7ae] Replication to git@192.168.0.224:fund-wuhan/gerrit_test_only.git started...
[2018-05-28 19:30:09,079] [96bab7ae] Push to git@192.168.0.224:fund-wuhan/gerrit_test_only.git references: [RemoteRefUpdate[remoteName=refs/heads/release/v0.0.1, NOT_ATTEMPTED, (null)...ecf1c112a9596a6d4a9054fc26dd2158ce8a9762, srcRef=refs/heads/release/v0.0.1, forceUpdate, message=null]]
[2018-05-28 19:30:09,697] [96bab7ae] Replication to git@192.168.0.224:fund-wuhan/gerrit_test_only.git completed in 610ms, 15000ms delay, 0 retries
Когда я удаляю ветку на веб-странице Gerrit, журнал репликации будет:
[2018-05-28 19:30:31,370] [] scheduling replication gerrit_test_only:refs/heads/release/v0.0.1 => git@192.168.0.224:fund-wuhan/gerrit_test_only.git
[2018-05-28 19:30:31,370] [] scheduled gerrit_test_only:refs/heads/release/v0.0.1 => [1679e7ee] push git@192.168.0.224:fund-wuhan/gerrit_test_only.git to run after 15s
[2018-05-28 19:30:46,370] [1679e7ee] Replication to git@192.168.0.224:fund-wuhan/gerrit_test_only.git started...
[2018-05-28 19:30:46,373] [1679e7ee] Replication to git@192.168.0.224:fund-wuhan/gerrit_test_only.git completed in 2ms, 15000ms delay, 0 retries
вы можете обнаружить, что нет
"Push to git@192.168.0.224: fund-wuhan / gerrit_test_only.git ссылается: [RemoteRefUpdate [remoteName = refs /heads / release / v0.0.1, NOT_ATTEMPTED, (null) ... ecf1c112a9596a6d4a9054fc26dd2158ce8a9762, srcRef = refs /heads / release / v0.0.1, forceUpdate, message = null]] "
при удалении ветви.Я думаю, что в этом причина.