Comment 2 for bug 299879

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 299879] [NEW] commit --exclude should NOT exclude TREE_ROOT

> C:\Temp\4>bzr ci -m test --exclude . --unchanged
> Committing to: C:/Temp/4/
> bzr: ERROR: exceptions.AssertionError: Root entry should be supplied to record_entry_contents, as of bzr 0.10.

Fun!

So, the base problem is that the first commit has to add the root of the
tree - we don't support trees with /no/ root.

And the exclude code is permitted to exclude everything. So, I consider
this a misleading error message, but not a bug - that commit *is not
valid*.

 status confirmed
 importance medium