FreeBSD/contrib/subversion/subversion/svnlook/svnlook.c
/* Helper function to display differences in properties of a file */
Helper function to display differences in properties of a file
Helper function to display differences in properties of a file
static svn_error_t *
display_prop_diffs(svn_stream_t *outstream,
                   const char *encoding,
                   const apr_array_header_t *propchanges,
                   apr_hash_t *original_props,
                   const char *path,
                   apr_pool_t *pool)
{
  SVN_ERR(svn_stream_printf_from_utf8(outstream, encoding, pool,
                                      _("%sProperty changes on: %s%s"),
                                      APR_EOL_STR,
                                      path,
                                      APR_EOL_STR));
  SVN_ERR(svn_stream_printf_from_utf8(outstream, encoding, pool,
                                      SVN_DIFF__UNDER_STRING APR_EOL_STR));
  SVN_ERR(check_cancel(NULL));
  SVN_ERR(svn_diff__display_prop_diffs(
            outstream, encoding, propchanges, original_props,
            FALSE ,
            -1 ,
            check_cancel, NULL, pool));
  return SVN_NO_ERROR;
}
static svn_error_t * display_prop_diffs ( svn_stream_t * outstream , const char * encoding , const apr_array_header_t * propchanges , apr_hash_t * original_props , const char * path , apr_pool_t * pool ) { SVN_ERR ( svn_stream_printf_from_utf8 ( outstream , encoding , pool , _ ( " " ) , APR_EOL_STR , path , APR_EOL_STR ) ) ; SVN_ERR ( svn_stream_printf_from_utf8 ( outstream , encoding , pool , SVN_DIFF__UNDER_STRING APR_EOL_STR ) ) ; SVN_ERR ( check_cancel ( NULL ) ) ; SVN_ERR ( svn_diff__display_prop_diffs ( outstream , encoding , propchanges , original_props , FALSE , -1 , check_cancel , NULL , pool ) ) ; return SVN_NO_ERROR ; }
Helper function to display differences in properties of a file
Helper function to display differences in properties of a file
/* pretty_print_mergeinfo */ /* context_size */