I have created a repository that contains a subfolder called 'subrepo'. I then created an .hgsub file with the following contents:
subrepo = https://[email protected]/me/subrepo-test
When I go to BitBucket and view the source, I see a 'subrepo' folder that, when clicked, takes me to the linked subrepository. I also see the .hgsub file along with the root-level index.php file I created.
My problem is that cloning or downloading the source of the main repository only gets me the index.php file, not the .hgsub file or the subfolder with the contents of the linked subrepository. My understanding is that I should be getting the complete contents. What could I be doing wrong?
hg clone https://[email protected]/me/parent-repo
from the terminal on my Mac. – Micah Wood-v
option and post the output. – Lasse V. Karlsen