[MERGE][1.6] lookup rules using get_special_file API

Ian Clatworthy ian.clatworthy at canonical.com
Fri Jul 25 02:54:45 BST 2008


During the review of the rules-based preferences patch,
John and I discussed the idea of accessing the .bzrrules
file via a custom API which could provide better performance.

During my testing of the content filtering branch, it turns
out that using a custom API is actually a requirement in
order to fix an infinite recursion bug that occurs. This
patch introduces that API and uses it to find the .bzrrules
file.

The API has been designed so that it can be used for looking
up .bzrignore and other special files down the track. This
patch doesn't do that yet. I'm happy to add that now if the
reviewer feels that I should. OTOH, that change can come later
while I'd like this fix to rules in 1.6 if time permits.

Ian C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rules-via-get_special_file.patch
Type: text/x-diff
Size: 8111 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080725/826bde8a/attachment-0001.bin 


More information about the bazaar mailing list