fastimport and pruning empty directories
Tom Widmer
tom.widmer at googlemail.com
Tue Jul 21 13:58:50 BST 2009
Bazaar tracks directories, unlike most other DVCSes. However, the
fastimport format (as far as I know) has no way of specifying directory
creation or deletion, or, if it does, hg and git exporters don't to my
knowledge make use of it (since they don't think that such operations
exist!).
Is there any way to get bzr fast-import to prune empty directories (e.g.
when the last file in a directory is removed, automatically remove the
directory in the same revision)? That would resolve the problems I am
having trying to convert an hg repository to bzr.
This may also apply to bzr's foreign repository support (e.g. when
cloning from hg, the history could automatically include the necessary
directory deletes to avoid having empty directories).
Thanks,
Tom
More information about the bazaar
mailing list