Correctly handle socket.timeout on windows.

Signed-off-by: Jelmer Vernooĳ <jelmer@samba.org>
Make get_transport_and_path return a local client for windows abs paths.

Signed-off-by: Jelmer Vernooĳ <jelmer@samba.org>
Get git-daemon to run on windows in test_suite.

Signed-off-by: Jelmer Vernooĳ <jelmer@samba.org>
NEWS entry for windows test fixes.

Signed-off-by: Jelmer Vernooĳ <jelmer@samba.org>
Add all test requirements to setup.py. Use setup.py test on travis.
Install fastimport, mock and gevent from the apt repository so they don't have to be downloaded.
Use with statement rather than try: finaly: x.close().
Travis: use system site packages in virtualenv.
Use stderr.splitlines rather than Popen(universal_newlines=True)

The reason for this is that universal_newlines takes the Popen files out of
bytes mode on python3.
Merge branch 'travis' of git://github.com/garyvdm/dulwich
Merge branch 'with' of git://github.com/garyvdm/dulwich
Remove tags from list of missing documentation
Fix typo in method description
Add extra check for bytes to read in compute_file_sha.
Add tests for adding empty thin packs to object stores.
Handle readonly files on windows when calling rmtree.