[GSoC] Partial Cloning

Rafael Goncalves Martins rafael at rafaelmartins.eng.br
Fri Apr 2 22:13:52 CDT 2010


Hi all!

I'm considering apply to the GSoC with the Partial Cloning idea. Some days
ago Peter asked me to list here my initial ideas for the project. I'm not an
expert about the Mercurial core but I'm trying to learn more about the
internals. So, let's go...

- Nallow clones
    
    I think that the best approach here is implement the clonning of subtrees,
    storing the absolute path for the root of the subtree somewhere in .hg, and
    making Mercurial look for the subtree as part of a full "virtual" main tree,
    but ignoring the differences between the "virtual" tree and the files in the
    directories outside the subtree. This implementation should be hard, but it's
    the easiest way, IMO. I can be completelly wrong though.

- Shallow clones

    The Peter's draft [1] looks good for me. It's obviously more elaborated
    that my initial idea, but follows in the same way. I'll think a bit more
    about this and propose some changes here in this thread.

I'm really needing some feedback and ideas to compose my proposal, so comments
are always welcome! :)

For some background about me, I'm a Brazilian student of Automation and Control
Engineering (in the 4th year, 8th semester) at the Federal Center for
Technological Education of Minas Gerais, CEFET/MG. I almost always develop free
software using Python and Mercurial, and have some experience writing Mercurial
extensions and Python scripts using Mercurial API.

[1] http://mercurial.selenic.com/wiki/ShallowClonePlan

Best Regards,

-- 
Rafael Goncalves Martins
http://rafaelmartins.eng.br/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100403/ce36d7be/attachment.pgp>


More information about the Mercurial-devel mailing list