Help with a unicode issue

Ian Clatworthy ian.clatworthy at internode.on.net
Thu Jun 28 16:40:05 BST 2007


John,

I'm experimenting with building the commit data using an iter_changes
like API instead of walking the inventory of the work_tree. Of the
almost 7000 tests, only *one* is failing and I'm wondering if it's a
latent bug elsewhere.

The lines # won't help you much but the output is attached. Here's what
I think is happening ...

1. a legal inventory is being built
2. a file within that is renamed with a unicode path

In the current code base, the commit is succeeding because the inventory
entry isn't rechecked. In my code base, inventory.make_entry() is being
stricter in it's checking the normalisation and falling over.

Does that sound feasible? If so, any ideas on where the root cause of
the bug is? FWIW, the current code base does a make_entry iff the kind
is changed (so the existing code is fragile anyhow if I'm right).

Thoughts?

Ian C.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unicode-error.txt
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20070629/0e4a42aa/attachment-0001.txt 


More information about the bazaar mailing list