FreeBSD/contrib/subversion/subversion/libsvn_client/blame.c
/* The delta window handler for the text delta between the previously seen
 * revision and the revision currently being handled.
 *
 * Record the blame information for this revision in BATON->file_rev_baton.
 *
 * Implements svn_txdelta_window_handler_t.
 */
The delta window handler for the text delta between the previously seen
revision and the revision currently being handled.

Record the blame information for this revision in BATON->file_rev_baton.


The delta window handler for the text delta between the previously seen revision and the revision currently being handled . Record the blame information for this revision in BATON - > file_rev_baton .
static svn_error_t *
window_handler(svn_txdelta_window_t *window, void *baton)
{
  struct delta_baton *dbaton = baton;
  if (dbaton->wrapped_handler)
    SVN_ERR(dbaton->wrapped_handler(window, dbaton->wrapped_baton));
  if (window)
    return SVN_NO_ERROR;
  SVN_ERR(update_blame(baton));
  return SVN_NO_ERROR;
}
static svn_error_t * window_handler ( svn_txdelta_window_t * window , void * baton ) { struct delta_baton * dbaton = baton ; if ( dbaton -> wrapped_handler ) SVN_ERR ( dbaton -> wrapped_handler ( window , dbaton -> wrapped_baton ) ) ; if ( window ) return SVN_NO_ERROR ; SVN_ERR ( update_blame ( baton ) ) ; return SVN_NO_ERROR ; }
The delta window handler for the text delta between the previously seen
 revision and the revision currently being handled.
The delta window handler for the text delta between the previously seen revision and the revision currently being handled .
/* Call the wrapped handler first. */ /* We patiently wait for the NULL window marking the end. */ /* Diff and update blame info. */