Issue #2216 new

Nested subrepositories (BB-1004)

Martin Geisler avatarMartin Geisler created an issue

A typical and quite canonical setup using subrepositories is to have the source repository embedded directly into the main repository with a .hgsub file like this:

libs/foo = libs/foo
libs/bar = libs/bar

You cannot push such a repository to Bitbucket since it would require that you can clone from URLs of the form<user>/<main>/<user>/<main>/libs/libfoo<user>/<main>/libs/libbar

Sniffing the user agent should make it possible to support this for hg clone. However, it is a good question how Bitbucket should behave when people use their normal browser, i.e., where do they go to see the libs/libfoo repository?

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.