My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1909: cann't delete branches
5 people starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 1902
Owner:  ----
Closed:  May 2013


Sign in to add a comment
 
Reported by xuejian...@gmail.com, May 9, 2013
************************************************************
***** 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:2.6-rc0/2.6-rc1

What steps will reproduce the problem?
1.Update gerrit from 2.5.2 to  2.6-rc1 
2. Give "Push","Force Push","Create Reference","owner","submit" and "read"  permission to user xuejiang of "refs/heads/*" and "refs/*" in mygit.git
3.git clone ssh://xuejiang@MY.GERRIT.COM:29418/mygit.git

4.git push origin :needDeleteBranch


What is the expected output? What do you see instead?
expected success;
But i got the error:

remote: Branch refs/heads/t9:
remote: You need 'Push' rights with the 'Force Push'
remote: flag set to delete references.
remote: User: xuejiang
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://xuejiang@MY.GERRIT.COM:29418/mygit
 ! [remote rejected] t9 (cannot delete references)
error: failed to push some refs to 'ssh://xuejiang@MY.GERRIT.COM:29418/mygit'

It work on 2.5.2,but not work in new version

Please provide any additional information below.

May 9, 2013
Project Member #1 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 1902
May 15, 2013
#2 rasmuskv...@gmail.com
I have the same issue, super annoying since we are depending on this for git flow with gerrit, 
Developer can create and delete branches using git flow 
Jul 9, 2013
#3 james.ng...@gmail.com
I still have the same issue but on 2.7rc-1. Is there any resolution for this yet?
Jul 18, 2013
#4 aj.d...@gmail.com
Also experiencing with 2.7rc1... :(
Jul 18, 2013
Project Member #5 mf...@codeaurora.org
(No comment was entered for this change.)
Labels: -Priority-Minor Priority-Major Blocking-2.6 Blocking-2.7
Jul 18, 2013
Project Member #6 mf...@codeaurora.org
Shouldbe fixed in 2.7rc2
Labels: -Blocking-2.6 -Blocking-2.7
Sign in to add a comment

Powered by Google Project Hosting