On Sat, Feb 13, 2010 at 17:14, Barry Warsaw <ba...@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). Cheers, Dirkjan _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com