On Wed, Sep 19, 2012 at 11:05:22PM -0700, Mark Mikofski wrote: > this function needs lookup_entry which returns KeyError or a tuple of sha and > mode, but I don't know how to make a sha from a filename, filename_to_sha > doesn't work tree.__getitem__ looks up the filename in a tree.
Alternatively, you can use Index.changes_from_tree which handles this for you. Cheers, Jelmer _______________________________________________ Mailing list: https://launchpad.net/~dulwich-users Post to : [email protected] Unsubscribe : https://launchpad.net/~dulwich-users More help : https://help.launchpad.net/ListHelp

