To repro:
Create Hg tool, clone repo to sandbox. Then:
hg branch feature touch myfile hg add . hg ci -m "Added myfile" hg push
After the repo refresh is finished, the empty repo page is still displayed, even though the new branch is in the sidebar, and you can click on it to see your commit.
I suspect the code is looking for a commit on branch 'default' instead of any branch.