fastimport and pruning empty directories

Ian Clatworthy ian.clatworthy at
Fri Aug 7 04:48:02 BST 2009

Tom Widmer wrote:
> 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)?

Yes, I'll take a look. I've created to track progress.
You may wish to subscribe to it.

Ian C.

More information about the bazaar mailing list