Michael Hudson points out that commit now fails if a file with a newline in the name is added, but that's when running with asserts. If you are using python -O (or a bzr installed to use .pyo files), then instead of the assert, you get: KnitCorrupt: Knit None corrupt: incorrect number of lines 4 != 3 for version {