mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-02-02 11:29:07 +01:00
Really delete the private branch ref when deleting a branch
This commit is contained in:
@@ -1383,7 +1383,7 @@ def delete_bookmark(parser, ref):
|
||||
ok = peer.pushkey('bookmarks', bmark, old, '')
|
||||
# delete private ref
|
||||
if ok:
|
||||
pbookmark = '%s/bookmarks/%s' % (prefix, bmark)
|
||||
pbookmark = '%s/heads/%s' % (prefix, bmark)
|
||||
subprocess.call(['git', 'update-ref', '-d', pbookmark])
|
||||
return ok
|
||||
|
||||
|
||||
Reference in New Issue
Block a user