See attached diff with couple of mandatory changes. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: bencode.diff Url: https://lists.ubuntu.com/archives/bazaar/attachments/20090527/5408d576/attachment.diff