Add a get_change method to SCMTool and HostingService
Review Request #4284 — Created July 3, 2013 and submitted — Latest diff uploaded
Add a get_change method to SCMTool and HostingService This change adds the final piece of integration API on the backend that we need for post-commit reviews--the ability to fetch the commit message and diff from the version control system given a revision ID. This is implemented for SVN and GitHub, just like the get_branches and get_commits methods.
- Ran unit tests. - Used this with my post-commit UI for both github and svn repos.
Diff Revision 3
This is not the most recent revision of the diff. The latest diff is revision 4. See what's changed.
orig
1
2
3
4
reviewboard/hostingsvcs/github.py |
---|
reviewboard/hostingsvcs/service.py |
---|
reviewboard/hostingsvcs/tests.py |
---|
reviewboard/scmtools/core.py |
---|
reviewboard/scmtools/models.py |
---|
reviewboard/scmtools/svn.py |
---|
reviewboard/scmtools/tests.py |
---|