THG creates `.hg` in the repository that is a subrepo in another branch
Created originally on Bitbucket by zerkms (Ivan Kurnosov)
I've created a repository for easier reproducing the issue (since it's not obvious to explain it).
- Clone
https://bitbucket.org/zerkms/thg-branch-with-subrepo-bug-reproduce
- Open it in THG
- Check that
subrepo
directory only contains a single file - Now just click on the revision #2 (closed) (91cadcb4debf3856d5e2cf4cbe12512ae6bc8833) in the THG Workbench
- Check that in
subrepo
directory unexpected.hg
appeared
Bonus bug: you cannot update to that revision as well ;-) (and it's already reported to a mercurial bugtracker: http://bz.selenic.com/show_bug.cgi?id=3939)