How to organise projects with dependencies on BitBucket?

Posted by Timwi on Programmers See other posts from Programmers or by Timwi
Published on 2012-10-01T21:58:14Z Indexed on 2012/10/02 3:55 UTC
Read the original article Hit count: 294

Filed under:
|
|

Both Mercurial and BitBucket make one fundamental assumption: 1 repo = 1 project.

If I have a project that has a dependency (a library) which is shared by many projects, this assumption gets in the way. Now it is no longer possible to have a separate BitBucket page for each project while still being able to commit atomic revisions to multiple projects.

If I put all the projects into one repo, they all become one “project” on BitBucket. If I put them in separate repos, it is no longer possible to know which version of the library project was in use at revision X of a dependent project.

How is this situation normally solved on BitBucket, or is there explicitly no support for this common scenario?

© Programmers or respective owner

Related posts about mercurial

Related posts about dependencies