I have one single repository.
Suppose I have LibraryX which I share across projects.
Suppose ApplicationA (among others) uses LibraryX and references it as an external.
While developing ApplicationA, I am also possibly making modifications to LibraryX.
Suppose changes have been made to both ApplicationA and to LibraryX, and now I am doing a release.
Please tell me if you agree/disagree with the following process, and/or tell me what you would do to improve it:
- create a tag of LibraryX
- branch ApplicationA
- change externals on the branched ApplicationA to point to the tagged LibraryX and perhaps to the specific revision (in case someone in the future commits to the tag accidentally)
- create a tag of the branched ApplicationA
- delete the branched ApplicationA
Sound reasonable? Got better ideas? Thoughts?
I do the following:
Some additional comments: