is_ignored improvements...
Jan Hudec
bulb at ucw.cz
Tue May 16 13:28:58 BST 2006
On Tue, May 16, 2006 at 19:03:40 +1000, Robert Collins wrote:
> Jan Hudec was working on is_ignored improvements... they account for a
> nontrivial amount of the time of a 'bzr add' call.
>
> I was wondering if we can get the compatible replacement in - leaving
> the format changing etc stuff for a later time.
Yes, it is possible. There are two parts to the branch:
1. The multi-pattern matcher and
2. The advanced glob->regex converter
The multi-pattern matcher can be used with patterns produced by the
fnmatch module.
Now there are two possible ways to merge it:
1. I will keep the branch with all the new code, but make sure only the
matcher is used and fnmatch does the glob->regex conversion. So the
new converter will be there, but not used.
I actually think I already did that, so I'll just double-check.
2. I could manually split the patch to only include the matcher. That
would be more work, but if you insisted on not having unused code
there, I can do it.
For the rest I recently had a bit more time for hacking, so I managed to
get the Properties thing to a state that I could reimplement executable
flag with properties. Now what's left is more tests and porting tests to
the new interface, defining new repository and working-tree formats
capable of storing the properties (I store the properties in the
inventory, because the inventory would have to mention them anyway) and
adding a command to manipulate properties (this will allow changing
executable flag from windows as a sideefect).
--
Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060516/ec24319c/attachment.pgp
More information about the bazaar
mailing list