repository replication

Thomas Delaet thomas at delaet.org
Fri May 30 20:11:56 CDT 2008


Hi

I want to save every addition to my repository A made over an ssh
connection from repository B. I think the best way to do this is to
use one of the "changegroup" or "incoming" hooks. Furthermore, I want
to be able to load the saved changesets/changegroups in another
repository C.

One way might be to save every addition to repository A in a
bundle-compatible format and then use the "unbundle" command for
repository C. Any hints on how to do this would be welcome!

Some extra questions:
- At a certain point in time, I might have different saved additions
in files U, V, W, X,Y,Z. Is the order in which I apply them to
repository C relevant?
- When I use this system from the repository initialization, I should
be able to recreate the complete repository with all files. What
happens if one file is missing? For example, say that file W is
missing. Is the repository then created with the additions up till V?

Thanks a lot for any help

Kind Regards
-- 
Thomas


More information about the Mercurial-devel mailing list