Git SCMTool - update

Review Request #141 — Created Aug. 11, 2007 and submitted — Latest diff uploaded

Information

Review Board SVN (deprecated)
trunk
87

Reviewers

An update to Nick Loeve's git support patch reviewed at http://reviews.review-board.org/r/80/.

This patch adds support for the new DiffParser, along with some more clean up and unit test coverage. It requires a test git repository at scmtools/testdata/git_repo. A tarball of a repo that contains the correct SHA1 refs to work with the unit tests is at  http://mojain.com/static/git_repo.tar.gz.

Update 2007-08-13: uploaded a new diff that applies against rev 877.

Update 2007-08-14: uploaded a new diff (on the third attempt) that correctly handles diffs that delete files (oops!), and implements Josh Stone's suggestion for file_exists().

Update 2007-08-16: new diff that addresses Josh's comments, including restoring a bunch of get_file tests that I lost in a bad merge.
The patch contains unit tests that exercise the git diff parser and repository client code. All scmtool tests pass.