[step 02] request: 12 steps towards a high performance server
John Arbash Meinel
john at arbash-meinel.com
Wed Sep 13 17:33:49 BST 2006
> http://people.ubuntu.com/~andrew/bzr/sort-os.listdir-in-add.py/
> a one-line change to smart_add_tree to ensure a consistent ordering -- I
> recently enabled the 'dir_index' option on my ext3 filesystem, and it broke
> the test suite without this fix.
+1
I'm not sure if this is better than fixing the test, since the contents
of a directory could be quite big, and we may not want to sort a huge
list if it doesn't matter.
But it makes the add stuff stable (I fixed some other tests that
expected sort order, so that they wouldn't any more, obviously I missed
some).
So I'm okay with the fix.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060913/a965ed9c/attachment.pgp
More information about the bazaar
mailing list