helpSavannah Administration - Support: sr #107682, deleting a remote branch in git

 
 

sr #107682: deleting a remote branch in git

Submitted by:  Nikos Mavrogiannopoulos <nmav>
Submitted on:  Sat 07 May 2011 09:34:14 PM UTC  
 
Category: Developer Source Code RepositoriesPriority: 5 - Normal
Severity: 3 - NormalStatus: In Progress
Assigned to: Michael J. Flickinger <mjflick>Operating System: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Fri 09 Aug 2013 08:45:52 PM UTC, comment #11:

Can we close this out?

John Schmidt <johnschmidt4>
Thu 05 Jul 2012 02:28:20 PM UTC, comment #10:

I don't think that fast forward is a good thing. Let's wait until the rep. manager then. Karl hello. I know and I feel guilty for not helping, but I'm really out of time. If helping now and then is acceptable I could, but I cannot really commit into anything at this moment.

Nikos Mavrogiannopoulos <nmav>
Wed 04 Jul 2012 10:33:38 PM UTC, comment #9:

Nikos - by the way, if you have any interest in adding another hat to your tasks and helping with savannah administration, that'd surely be welcome.

best,
karl

Adrian Mariano <adrianm>
Tue 03 Jul 2012 10:51:19 PM UTC, comment #8:

Soon, coming in the next two months, we'll have a repository manager, so this won't be as much of a problem with git.

In the meantime, I could just disable the nofastforwardcommit stuff, if you'd like.

Michael J. Flickinger <mjflick>
Site AdministratorIn charge of this item.
Tue 03 Jul 2012 05:55:46 PM UTC, comment #7:

The issues isn't just a branch. I often need to reorganize delete or replace old branches and the savannah git doesn't allow this stuff. For example I wanted to reset the gnutls_3_0_x branch because it got out-of-sync with master, and this is not possible. Neither a fast forward commit is allowed, nor can I delete the branch to replace it. This is utterly annoying. Also making a typo in the tag cannot be undone (tags cannot be deleted as well).

It would really be nice of deletion was allowed without opening a support request.

btw. It doesn't seem to be an issue with git but rather there is a hook (script) that prevents deletion of branches and tags.

remote: *** Deleting a tag is not allowed in this repository
remote: error: hook declined to update refs/tags/gnutls_3_0_21
To ssh://git.sv.gnu.org/srv/git/gnutls.git
! [remote rejected] gnutls_3_0_21 (hook declined)
error: failed to push some refs to 'ssh://git.sv.gnu.org/srv/git/gnutls.git'

Nikos Mavrogiannopoulos <nmav>
Tue 03 Jul 2012 05:00:20 PM UTC, comment #6:

Branch (finston_0) is now manually deleted. You "should" have been able to delete this yourself, via git, but something (git-wise) was buggy.

I apologize for the delay.

Let me know if it's OK to close this issue now.

Michael J. Flickinger <mjflick>
Site AdministratorIn charge of this item.
Tue 03 Jul 2012 07:08:57 AM UTC, comment #5:

Is there any way to help with that? Really it is awkward to wait a year to delete a branch or a tag. Is there any way to help solving it without moving the project out of savanah?

Nikos Mavrogiannopoulos <nmav>
Fri 12 Aug 2011 03:57:20 PM UTC, comment #4:

Hello is there any update on the issue?

Nikos Mavrogiannopoulos <nmav>
Mon 23 May 2011 04:40:56 PM UTC, comment #3:

Thanks,

Investigating issue.

Michael J. Flickinger <mjflick>
Site AdministratorIn charge of this item.
Mon 23 May 2011 06:39:56 AM UTC, comment #2:

It is gnutls. I tried to delete the branch "finston_0".

Anonymous
Sun 22 May 2011 11:41:58 PM UTC, comment #1:

This puzzles me.

You should be able to still remove remote branches in git.

I'll need to explore the issue with your repository further.

Which project/branch is this?

Thanks

Michael J. Flickinger <mjflick>
Site AdministratorIn charge of this item.
Sat 07 May 2011 09:34:14 PM UTC, original submission:

The git support page at http://savannah.gnu.org/maintenance/UsingGit describes a way to delete a remote branch. However trying to delete using that method displays:
"remote: *** Deleting a branch is not allowed in this repository
remote: error: hook declined to update refs/heads/xxx"

for the gnutls git repository.

Nikos Mavrogiannopoulos <nmav>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by adrianm (Posted a comment)
  • -unavailable- added by mjflick (Posted a comment)
  • -unavailable- added by nmav (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 23 May 2011 04:40:56 PM UTCmjflickStatusNeed Info=>In Progress
    Sun 22 May 2011 11:41:58 PM UTCmjflickStatusNone=>Need Info
      Assigned toNone=>mjflick

    Back to the top


    Powered by Savane 3.1-cleanup