Finding out how many organizations and people use sub repositories

Marcin Kasperski Marcin.Kasperski at mekk.waw.pl
Wed Jan 11 07:48:18 UTC 2017


>
> Where is a good place to find out how many organizations and people
> use sub repositories?

Don't know. I dislike the exact idea, though (also with respect to git
repos), the coupling is too strict (for example I really don't).

At work, we have a few scripted tools which are various metadata (some
in-, some out-of- repository) and integrated with build system. The task
of writing shell/perl/python script which checks out a couple of modules
into proper directory hierarchy according to some spec really isn't that
difficult.

At home I am fairly happy with combo of all_dirs¹ (which let me do
things like "hg alld push" to push all repos in some directory tree) and
path_pattern² (which gets rid of per-repo hgrc management nightmare and
let me do things like hg init + hg pull dev, as repo knows paths from
it's location). Disclaimer: I co-wrote the former and wrote the latter,
so surely I am opionionated here.

¹ https://bitbucket.org/Mekk/mercurial-all_dirs
² https://bitbucket.org/Mekk/mercurial-path_pattern




More information about the Mercurial mailing list