The example you give is more a Merge than really a Close. Also, if it’s that simple, you probably don’t want/need to create a named branch.
But if you really want to close a branch through TortoiseHg, eg
- you created the NewFeature branch
- then both the Default branch and NewFeature branches were modified
- then if the NewFeature branch takes quite some time you might have also already merged several time Default into NewFeature (to avoid having too many differences when you’ll want to finally merge the NewFeature branch into the Default one)
- eventually your new feature is entirely implemented or stable enough, you merged the NewFeature branch into the Default one
From now on, no one is supposed to commit anything on the NewFeature branch, so you’d like to close it.
You can do so in TortoiseHg (I have version 2.3.2):
- click Hg Commit… when you are on your NewFeature branch (no need to have anything to commit – or you do it with your final merge)
- click “Branch: NewFeature” (it’s at the top in bold)
- select “Close current branch”.