Recursive pull on subrepos

Andreas Reichel andreas at manticore-projects.com
Mon Sep 5 02:33:19 CDT 2011


Martin,

is there a kind of hook after "hg pull -u" which could just run the
script "pull.sh" automatically?

Best regards
Andreas

Am Montag, den 05.09.2011, 09:18 +0200 schrieb Martin Geisler:
> Andreas Reichel <andreas at manticore-projects.com> writes:
> 
> Hi Andreas,
> 
> > thank you for pointing me on that. Being German I am still not happy.
> > I understand your solution and all the technical reasons but with the
> > eyes of any most stupid user I would like to say:
> >
> > a) 'hg onsub "hg pull -u"' is far more complicated than "hg pull -su"
> > or "./pull.sh" (really, after a day I just forget the command)
> >
> > b) the extension is not installed by default and it is not in my
> > distribution's repository so I need to force my audience to learn
> > about it. It is also hard to find, I failed to find it by myself.
> >
> > c) "it is not known what to pull until you do 'hg update'" -- in my
> > maximum ignorance I do not care if the "hg pull -su" step consists of
> > two internal serial steps. I'd like to drive the car not understanding
> > the difference between diesel and gasoline or otto and wankel.
> >
> > Please understand my points as positive critics. I am happy to learn
> > there is an extension but it looks overly complicated to me and if
> > even I prefer to stick with simple "./pull.sh" then probably Joe
> > Sixpack users will too.
> 
> Yeah, I do see it as constructive critisism. I also think this is too
> complicated and a non-standard extension is only a stop-gap solution.
> 
> Someone should implement 'hg pull --subrepos' to do what 'hg onsub hg
> pull' does now: call 'hg pull' in all subrepositories. That would make a
> lot of users happy.
> 




More information about the Mercurial-devel mailing list