************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! *****
************************************************************
Affected Version:
What steps will reproduce the problem?
1. repo init -u ssh://4088/test/manifests.git -b eng
2.repo sync
3.cd 1/
4.git push aosp :refs/heads/test1
What is the expected output? What do you see instead?
The expecte output should be the saying of "delete complete" as so on .
The output is as follow:
K46CB:~/data/test/1$ git push aosp :refs/heads/test1
remote: Branch refs/heads/test1:
remote: You need 'Push' rights with the 'Force Push'
remote: flag set to delete references.
remote: User: sherwin_li
remote: Please read the documentation and contact an administrator
remote: if you feel the configuration is incorrect
remote: Processing changes: refs: 1, done
To ssh://4088/test/1
! [remote rejected] test1 (cannot delete references)
error: failed to push some refs to 'ssh://4088/test/1'
Please provide any additional information below.
User of sherwin_li is Administrater , and I have access control enabled with force push in Reference:
refs/heads/* of project test/1 .
The software is upgraded from 2.5.1 to 2.6-rc3 today . Before that , branch deleting work well .
I can not delete this branch with force push . However I can delete it in web UI .
I am very sure that Force Push enable in refs/heads/* is set for Administrator !
Mergedinto: 1902