Shadow repositories

Isaac Jurado diptongo at gmail.com
Sun Apr 4 17:53:38 CDT 2010


Replying Michael Tharp:
>
> A while back I wrote an extension that creates a so-called "shadow
> repository", which is just a hgrc file in a repository with an empty
> changelog. This hgrc file points to A) another repository which
> contains the actual changelog, contents, etc. and B) a changeset in
> that repository which is the head of this shadow repository. The
> parent repository acts like a bucket of changesets, and one or more
> shadow repositories reference that bucket and each have their own
> head(s).

If I have understood correctly, the share extension is what you need:

http://mercurial.selenic.com/wiki/ShareExtension

It is being distributed with Mercurial since 1.3.

Cheers.

-- 
Isaac Jurado

"The noblest pleasure is the joy of understanding."
                                  Leonardo da Vinci


More information about the Mercurial-devel mailing list