Subrepos and multiple top repos

Thomas De Schampheleire patrickdepinguin+mercurial at gmail.com
Wed Jun 1 04:53:19 CDT 2011


On Wed, Jun 1, 2011 at 8:35 AM, Martin Geisler <mg at lazybytes.net> wrote:
> Mathias De Maré <mathias.demare at gmail.com> writes:
>
>> I currently see the following options:
>> - store all the repositories in the same top-level directory, and put
>> symlinks in the top repositories to the subrepositories
>> - patch the server to always return a top-level directory, even when clients
>> request a subrepository down a few levels
>>
>> Both of these seem quite annoying.
>> - The first requires adding new symlinks whenever a new subrepository is
>> added (or moved from one directory to another!).
>
> You'll need to log into the server anyway in this case: you cannot
> create new (sub)repositories on a server without a login.

This is not always true: if you use a tool like mercurial-server [1],
you can create remote repositories over ssh. Everyone uses the same
ssh account, but authentication happens based on personal key-pairs.

Thomas

[1] http://www.lshift.net/mercurial-server.html


More information about the Mercurial mailing list