[MERGE] make sha1_provider a parameter to DirState()
Ian Clatworthy
ian.clatworthy at internode.on.net
Thu Mar 12 13:42:13 GMT 2009
Martin approved my patch for content filtering (about) two weeks ago
but it's been blocked on how best to layer it over DirState (rather
than teach DirState about content filters as I was doing).
This patch enhances DirState so that a custom object can optionally
be passed in that has responsibility for generating sha1 values
and the stat. I think this is pretty clean and all dirstate tests
pass for me now, both the python and C stuff.
My tweaked content filtering code will have the WorkingTree provide
one of these, one that knows about what files, if any, gets filtered
and how.
Ian C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dirstate-sha1-provider.patch
Type: text/x-diff
Size: 13574 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090312/d36a964e/attachment.bin
More information about the bazaar
mailing list