Need help for a hg push
viteno at xemacs.org
Mon Oct 24 04:50:03 EDT 2011
* "Stephen J. Turnbull" <stephen at xemacs.org>:
> Mike Kupfer writes:
> > After you updated the ChangeLog and Makefile in ruby-modes, where did
> > you do the commit? I'm guessing you did it in ruby-modes, but not the
> > top level.
> I agree. (I thought that the need for a top-level commit was obvious,
> but I guess I'm just turning Dutch in my old age.)
> > > Should I push the local changes in the subrepo (e.g. ruby-modes like I
> > > just did) or should I push all my changes from the top-level?
> > IIUC, if you push from ruby-modes, you'll only push the changes in the
> > ruby-modes tree; the top-level ChangeLog change will not get pushed.
> > But if you do the commit and push from the top level, Mercurial will
> > take care of both repos (top-level and ruby-modes) for you.
> That's correct. It is not obvious to me that recursive commit is
> desirable unless Norbert *never* makes local changes of his own in
> packages in that tree, only changes related to releases and build
> infrastructure. The point is that he needs to pull in the package
> repo anyway, and he needs to do the ChangeLog and Makefile updates
> there, so he may as well commit there too. Then back up to the top
> level, make any needed changes there, commit, and push.
Thanks for all the help and good advice.
For this time, I've made a new clone of the repository and pushed my
ChangeLog commit alone. In the future, I try to better follow the
suggested path :-)
More information about the XEmacs-Beta