Forest Extension
Seema Gupta
Seema.Gupta at Sun.COM
Tue Jun 12 14:35:55 UTC 2007
Hello ,
I am trying to investigate working of forest extension. And from
documentation it didn't seem very clear to me. I have a few questions.
It would be great if somebody could answer those.
First - When I create a snapshot file, it just lists the roots of each
tree and paths w.r.t each tree. Initially it creates only one entry
under paths with alias default. If I want to create another alias say
mainline, and I have a forest of say 20 nested repositories, does this
mean I need manually add this entry mainline under path for all twenty
repositories? I am wondering what if there are really large number of
repositories say hundreds.
Second - If I create an alias once, even if I remove the old forest
(where I have added this alias mainline) and create a new forest in a
separate disk all together and run fsnap for new forest, it still shows
the entry mainline in snapshot file of new forest? Is this expected?
Does this mean it picks up some data from filesystem which I am not able
to delete?
Third - Say I have a forest by alias name mainline and I want to pull
changes from mainline again and again to my working tree say mymainline.
If I create a snapshot file once for mainline, can I use the same
snapshot file every time for my fpull command for mymainline? My
assumption is no as it has revision stored for each repository. If that
is the case, does this mean everytime I want to pull changes I need to
create a fresh snapshot file for mainline though it will have an alias
entry mainline ( as I mentioned in my second point , once if I create an
alias it keeps existing even if I delete that tree).
Thanks
Seema
More information about the Mercurial
mailing list