[Python-Dev] PEP 385 progress report

Benjamin Peterson benjamin at python.org
Sat Feb 13 19:43:28 CET 2010

2010/2/13 Dirkjan Ochtman <dirkjan at ochtman.nl>:
> On Sat, Feb 13, 2010 at 17:14, Barry Warsaw <barry at python.org> wrote:
>> Does hg support an equivalent of 'bzr split'?
>> % bzr split --help
>> Purpose: Split a subdirectory of a tree into a separate tree.
>> Usage:   bzr split TREE
>> Options:
>>  --usage        Show usage message and options.
>>  -v, --verbose  Display more information.
>>  -q, --quiet    Only display errors and warnings.
>>  -h, --help     Show help message.
>> Description:
>>  This command will produce a target tree in a format that supports
>>  rich roots, like 'rich-root' or 'rich-root-pack'.  These formats cannot be
>>  converted into earlier formats like 'dirstate-tags'.
>>  The TREE argument should be a subdirectory of a working tree.  That
>>  subdirectory will be converted into an independent tree, with its own
>>  branch.  Commits in the top-level tree will not apply to the new subtree.
> Is that like a clone/branch of a subdir of the original repository? We
> don't have what we usually call "narrow clones" yet (nor "shallow
> clones", the other potentially useful form of partial clones). We do
> have the convert extension, which allows you to create a new
> repository from a subtree of an old repository, but it changes all the
> hashes (and I don't know if we have a way to splice them back
> together).

It is not a partial clone, but rather similar to what you are
referring to with the convert extension.


More information about the Python-Dev mailing list