(forest extension) How should one create forest

Robin Farine robin.farine at terminus.org
Mon May 7 14:10:31 CDT 2007


On Monday May 7 2007 19:09, Marcin Kasperski wrote:
> I decided to take a look at forest extension and I am somewhat
> confused. How should I ***create*** new forest?
>
> Let's say I have three (normal) mercurial repositories
>    /some/dir/repo1
>    /some/dir/repo2
>    /some/dir/repo3
> which command should I issue to gather them into a forest?
> If I try to run 'hg fsnap' in /some/dir, then it just complains
> that there is no mercurial repo there. Should I create extra
> repo in /some/dir?

Yes, that is the idea. You can store snapshots in the top level tree 
and tag this tree only. Later, it is easy to rebuild the whole 
hierarchy at a given state based on a tag of the top level tree.

Robin


More information about the Mercurial mailing list