delete a remote branch with hg-git

66 Views Asked by At

I use mercurial with hg-git extension and I can't delete a remote github branch (bookmark) with it. I read that it was not possible with this extension, is there any other mercurial extension or modified version of hg-git which could get the job done?

1

There are 1 best solutions below

1
Dan Villiom P. Christiansen On

While this isn't possible in the currently-released versions, the next feature release — probably 1.1 — adds support for that. If you check out the default branch of hg-git, you can use hg push -B somebookmark, and use that to either only publish that bookmark, or delete it remotely if it doesn't exist locally.