I'm trying to set up repository mirror on my local Phabricator and getting this error.
git push --mirror ssh://ssh@code.domain.com/diffusion/REPO/repo.git Counting objects: 65304, done. Delta compression using up to 4 threads. Compressing objects: 100% (35768/35768), done. Writing objects: 100% (65304/65304), 282.63 MiB | 3.16 MiB/s, done. Total 65304 (delta 27174), reused 65304 (delta 27174) remote: [2016-04-20 12:41:19] EXCEPTION: (Exception) Unable to identify the reftype of 'refs/changes/00/1600/1'. Rejecting push. at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:411] remote: arcanist(head=master, ref.master=a2ab38df78a9), phabricator(head=master, ref.master=1344dda75692), phutil(head=master, ref.master=1341c014ca7c) remote: #0 DiffusionCommitHookEngine::findGitRefUpdates() called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:212] remote: #1 DiffusionCommitHookEngine::findRefUpdates() called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:116] remote: #2 DiffusionCommitHookEngine::execute() called at [<phabricator>/scripts/repository/commit_hook.php:134] To ssh://ssh@code.domain.com/diffusion/REPO/repo.git ! [remote rejected] refs/changes/00/1600/1 -> refs/changes/00/1600/1 (pre-receive hook declined) ! [remote rejected] refs/changes/00/1600/2 -> refs/changes/00/1600/2 (pre-receive hook declined) ! [remote rejected] refs/changes/00/2200/1 -> refs/changes/00/2200/1 (pre-receive hook declined) ! [remote rejected] refs/changes/00/2200/2 -> refs/changes/00/2200/2 (pre-receive hook declined) ! [remote rejected] refs/changes/00/2400/1 -> refs/changes/00/2400/1 (pre-receive hook declined) ! [remote rejected] refs/changes/00/2400/2 -> refs/changes/00/2400/2 (pre-receive hook declined) ! [remote rejected] refs/changes/99/3799/3 -> refs/changes/99/3799/3 (pre-receive hook declined) ! [remote rejected] refs/changes/99/3799/4 -> refs/changes/99/3799/4 (pre-receive hook declined) ! [remote rejected] refs/changes/99/3799/5 -> refs/changes/99/3799/5 (pre-receive hook declined)
output omitted
! [remote rejected] 0.009.1GAHP1 -> 0.009.1GAHP1 (pre-receive hook declined) ! [remote rejected] 0.009.1GASP1 -> 0.009.1GASP1 (pre-receive hook declined) ! [remote rejected] 0.009.2.1GA -> 0.009.2.1GA (pre-receive hook declined) ! [remote rejected] 0.009.2.2GA -> 0.009.2.2GA (pre-receive hook declined) ! [remote rejected] 0.009.2.3GA -> 0.009.2.3GA (pre-receive hook declined) ! [remote rejected] 0.009.2.4GA -> 0.009.2.4GA (pre-receive hook declined) ! [remote rejected] 0.009.2.5GA -> 0.009.2.5GA (pre-receive hook declined) ! [remote rejected] 0.009.2GA -> 0.009.2GA (pre-receive hook declined) ! [remote rejected] 0.009.3GA -> 0.009.3GA (pre-receive hook declined) ! [remote rejected] 0.009.4GA -> 0.009.4GA (pre-receive hook declined) ! [remote rejected] 0.009.5.1GA -> 0.009.5.1GA (pre-receive hook declined) ! [remote rejected] 0.009.5GA -> 0.009.5GA (pre-receive hook declined) ! [remote rejected] 0.009.5GAMT -> 0.009.5GAMT (pre-receive hook declined) ! [remote rejected] master -> master (pre-receive hook declined) ! [remote rejected] refs/meta/config -> refs/meta/config (pre-receive hook declined) ! [remote rejected] refs/notes/review -> refs/notes/review (pre-receive hook declined) error: failed to push some refs to 'ssh://ssh@code.domain.com/diffusion/REPO/repo.git'
Version info:
phabricator 1344dda75692d93490cad242920b3f967ffaefcd (Wed, Apr 20) arcanist a2ab38df78a9d111459fab8d0d63e74d811edf29 (Sun, Apr 17) phutil 1341c014ca7c88002e2971e0e10e047d0c7a7e28 (Tue, Apr 19) git version 1.9.1