Making it easy to write pre/post-commit hooks

Review Request #9236 — Created Sept. 29, 2017 and discarded — Latest diff uploaded

Information

RBTools
master

Reviewers

Applies the 0001-WIP-Repository-hooks-support.patch that Christian Hammond
created.

Adds the repo-hook command to make it easy to use pre and post commit hooks. The
supported repositories are Git, Mercurial and SVN.

Ran nosetests -v; all tests pass with patch applied.

Created unit tests for all functions.

Ran nosetests -v; all tests passed.

setup.py
rbtools/clients/__init__.py
rbtools/clients/git.py
rbtools/clients/svn.py
rbtools/commands/__init__.py
rbtools/commands/main.py
rbtools/commands/repo_hook.py
rbtools/commands/tests/test_repo_hook.py
rbtools/hooks/common.py
rbtools/hooks/git.py
rbtools/testing/testcase.py
Loading...