Dealing consistently with subrepositories

Martin Geisler mg at
Wed Mar 30 04:57:29 CDT 2011

Pradeepkumar Gayam <in3xes at> writes:

> On Tue, Mar 29, 2011 at 11:52:26AM +0200, Martin Geisler wrote:
>> What do people think of this grouping? Does it make sense or would
>> you group things differently?
> Some commands are not mentioned here and possible to recurse through
> subreops.
>      bookmarks
>      branch
>      bundle/unbundle
>      export/import
>      tag
>      rollback

What equivalence classes do you put them into?

  bundle <-> unbundle ?
  export <-> import <-> diff ?

> Above command's behaviour is mentioned in the wiki[1]. Is that final?
> [1]

The wiki page was just a scratch pad for me... I put it there so that
interested parties could have a look and I remember Patrick did so. The
page could probably go now -- it's certainly not describing any sort of
final or agreed plan.

> And grep, locate, verify, tip can be extended with --subrepo option
> What about manifest?

I would probably say

  manifest <-> locate <-> status

so manifest and locate should recurse iff status does.

Martin Geisler

aragost Trifork
Professional Mercurial support

More information about the Mercurial-devel mailing list