[Python-Dev] Mercurial? (original) (raw)

Dirkjan Ochtman dirkjan at ochtman.nl
Mon Apr 6 08:13:00 CEST 2009


Martin v. Löwis <martin v.loewis.de> writes:

Is it possible to branch from a subdirectory? For the "different VMs" stuff, it's rather desirable to have a branch of the test suite, and the perhaps the standard library, than extracting it from the source.

You can only branch the whole repository. Of course you could drop the other stuff right after branching it, but that would kind of defy the point of branching (since you won't really be able to merge later on).

This is why it might be interesting to just split out the stdlib entirely. Though maybe we should wait for Mercurial's subrepos support to arrive before we go there (so we can a CPython repo that has the stdlib repo included automatically). Something like that is already provided by the forest extension, but it's not being maintained. Subrepo support is slated for the 1.3 release, which is planned for early July.

Cheers,

Dirkjan



More information about the Python-Dev mailing list