Mercurial clone from a branch April 15, 2023 by Tarik hg clone http://your/repo -r branchname should do the trick.