hg diff --subrepos

Stephen J. Turnbull stephen at xemacs.org
Sun Dec 25 06:50:54 EST 2011


Michael Sperber writes:

 > > hg commit -m "changed <file1> ..."     # look Ma, no push yet!
 > >                                        # it may *not* be OK to push here:
 > >                                        # that means that people who do
 > >                                        # "hg onsub pull -u; hg commit"
 > >                                        # will pollute .hgsubstate!
 > 
 > There's no problem pushing here.  It's just that what gets pushed here
 > doesn't get pulled automatically by a top-level "hg update", unless a
 > commit in the top level gets pushed.

I agree with what you wrote as far as it goes.  But is that really
responsive to my comment?  (N.B. in the comment, "people" should
actually read "other people".)

 > > cd ../..
 > > hg commit -m "publish sources of <pkg>" xemacs-packages/<pkg>
 > >                                        # updates .hgsubstate
 > > hg push                                # recursively pushes
 > 
 > That's correct, but to my mind is what Norbert should do.

OK, but in that case the committer in <pkg> needs to do a push in
<pkg> after committing above.



More information about the XEmacs-Beta mailing list