Didier Verna writes:
So the question is: when I push something from a subrepo, do I also
to do something at the root level ?
The answer is basically "it depends".
Yes, if you want the root level updated to a different version of the
subrepo. Eg, this would always be true if the change to the subrepo
is a pure optimization ready for publication, and no APIs used by the
root level are changed.
No, if not (and you need to be careful to avoid committing the updated
subrepo's current revision id to the root repo). Eg, this might be
true if you've changed the subrepo's API, and are satisfied that it's
ready to go for *new* projects, but you haven't updated the root's
code base to use the new APIs. In this case if you commit and push
from the root, you'll break the build (or worse) in new clones of the
BTW, we haven't yet figured out *who* is supposed to update the root.
Obviously Norbert is allowed to do so. I haven't thought carefully
about it, but I doubt there's harm to allowing the developer who
commits in the subrepo to do it, as long as no other changes are
committed in root and pushed to the public repo.
XEmacs-Beta mailing list