Non recursive update with subrepo's

Matt Mackall mpm at selenic.com
Mon Jan 27 20:10:58 UTC 2014


On Sat, 2014-01-25 at 15:22 +0100, Raphael Sebbe wrote:
> 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.

Hmm. Going "back" sounds like a bug. Can you construct a minimal
demonstration of your issue for a bug report?

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list