jelmer/dulwich — pull request #98 by hyperair (2013-06-03 09:27:34+00:00)
Title: Fix errors when accessing a 40-char long ref

This pull request addresses the two issues mentioned in Issue #82, i.e. the handling of 20/40-character refs in Repo.__getitem__, and the type of exception thrown by hex_to_sha() in the event of being passed an invalid string.