Add signals to notify when fetching/checking a file started/finished.
Review Request #4081 — Created April 27, 2013 and submitted — Latest diff uploaded
Add signals to notify when fetching/checking a file started/finished. These signals can be used to hook up code to perform an operation when fetching files or checking the existence of files, or when knowing when those fetches/checks are complete. Along with this, the file in diffutils that did time logging of the fetch operation has been moved into Repository.get_file, in order to standardize it.
All unit tests pass, including the new ones to check for the signal emissions.
reviewboard/diffviewer/diffutils.py |
---|
reviewboard/diffviewer/forms.py |
---|
reviewboard/diffviewer/tests.py |
---|
reviewboard/reviews/forms.py |
---|
reviewboard/reviews/views.py |
---|
reviewboard/scmtools/models.py |
---|
reviewboard/scmtools/tests.py |
---|
reviewboard/webapi/resources.py |
---|