Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] git problem

Well it seems to defeat one of the git "features", namely the ability to create and remove branches easily. Is there any reason why everyone shouldn't have this ability, which presumably they had before the gerrit switch?

Greg

On Sep 20, 2013, at 4:51 PM, Roland Grunberg <rgrunber@xxxxxxxxxx> wrote:

>> I'm trying to delete the hackthon branch, but I can't do it even using
>> --force:
>> 
>> $ git push --force origin :hackathon
>> remote: Branch refs/heads/hackathon:
>> remote: You need 'Push' rights with the 'Force Push'
>> remote: flag set to delete references.
>> remote: User: gwatson
>> 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://gwatson@xxxxxxxxxxxxxxx:29418/ptp/org.eclipse.ptp.git
>> ! [remote rejected] hackathon (cannot delete references)
>> error: failed to push some refs to
>> 'ssh://gwatson@xxxxxxxxxxxxxxx:29418/ptp/org.eclipse.ptp.git'
>> 
>> Presumably this is something to do with the gerrit changes. Any ideas?
> 
> The last time I needed a branch deleted I needed to contact an admin
> (filed a bug against Community/Gerrit) as I think some Gerrit
> attributes manage the ability to do this.
> 
> You could also request permissions to delete branches if you
> think this might be a frequent occurrence.
> 
> See http://gerrit.googlecode.com/svn/documentation/2.1/access-control.html#category_pHD
> 
> Cheers,
> -- 
> Roland Grunberg
> _______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-dev



Back to the top