Making it easy to write pre/post-commit hooks
Review Request #9236 — Created Sept. 29, 2017 and discarded — Latest diff uploaded
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.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 13. See what's changed.
orig
1
2
3
4
5
6
7
8
9
10
11
12
13
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 |
---|