Hi Emiliano,
On Tue, 2009-11-17 at 17:16 +0100, Emiliano Heyns wrote:
Is there a way to fetch a specific revision of a file using dulwich?
Do you mean fetching the copy of a file as it existed in a particular
Git commit ?
This is certainly possible for local repositories, you should retrieve
the tree sha associated with the particular commit and then use
tree_path_lookup to find the individual blob.
It's not possible for remote git repositories, because of
limitations in
the git network protocol.
Cheers,
jelmer
--
Jelmer Vernooij <jelmer@xxxxxxxxx> - http://samba.org/~jelmer/
Jabber: jelmer@xxxxxxxxxxxxxxx