Dealing consistently with subrepositories

Matt Mackall mpm at selenic.com
Wed Mar 30 09:16:02 CDT 2011


On Tue, 2011-03-29 at 15:07 +0200, Martin Geisler wrote:
> It feels wrong to me that incoming supports recursion when pull does
> not. Perhaps pull should support --subrepos too and then just do what
> incoming does, namely do 'hg pull' in each subrepo.

This idea has already been ACKed.

> So if we put merge in the group with commit since I guess you could
> require people to merge from the bottom up, then this is the revised
> categories:
> 
> * Must recurse: update <-> add <-> addremove <-> summary <->
>   push <-> outgoing
> 
> * Could recurse: pull <-> incoming and merge <-> commit <-> status <->
>   diff

Merge and update are largely the same command.

> * Should not recurse: rollback?

Egads.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list