Non recursive update with subrepo's

Raphael Sebbe raphael.sebbe at gmail.com
Sat Jan 25 14:22:32 UTC 2014


Hi all,

Does anyone know if it is possible to update a parent repository *without* updating/pulling its subrepos?

Our use case is that we have a main project with dependencies (subrepo), all evolving simultaneously with multiple developers, and always want repositories to be at their most advanced local revision, which can be in ahead of a subrepo version that was pushed previously (don't want to go back when updating the parent).

I fully understand the value of updating the subrepos when building a previous version of the app, want to update all to their sync state. However, in our use case during development phase, this is cumbersome, as each time we pull/update the parent, subrepos are going back and we have to update each of them manually to their latest local revision.

Can that behavior be customized, and if not, could you give some thoughts about this use case?

Thank you,

Raphael


More information about the Mercurial mailing list