FreeBSD/contrib/subversion/subversion/svnrdump/svnrdump.c
/* Read a dumpstream from stdin, and use it to feed a loader capable
 * of transmitting that information to the repository located at URL
 * (to which SESSION has been opened).  AUX_SESSION is a second RA
 * session opened to the same URL for performing auxiliary out-of-band
 * operations.
 */
Read a dumpstream from stdin, and use it to feed a loader capable
of transmitting that information to the repository located at URL
(to which SESSION has been opened).  AUX_SESSION is a second RA
session opened to the same URL for performing auxiliary out-of-band
operations.
Read a dumpstream from stdin and use it to feed a loader capable of transmitting that information to the repository located at URL ( to which SESSION has been opened ) . AUX_SESSION is a second RA session opened to the same URL for performing auxiliary out - of - band operations .
static svn_error_t *
load_revisions(svn_ra_session_t *session,
               svn_ra_session_t *aux_session,
               const char *url,
               svn_boolean_t quiet,
               apr_hash_t *skip_revprops,
               apr_pool_t *pool)
{
  apr_file_t *stdin_file;
  svn_stream_t *stdin_stream;
  apr_file_open_stdin(&stdin_file, pool);
  stdin_stream = svn_stream_from_aprfile2(stdin_file, FALSE, pool);
  SVN_ERR(svn_rdump__load_dumpstream(stdin_stream, session, aux_session,
                                     quiet, skip_revprops,
                                     check_cancel, NULL, pool));
  SVN_ERR(svn_stream_close(stdin_stream));
  return SVN_NO_ERROR;
}
static svn_error_t * load_revisions ( svn_ra_session_t * session , svn_ra_session_t * aux_session , const char * url , svn_boolean_t quiet , apr_hash_t * skip_revprops , apr_pool_t * pool ) { apr_file_t * stdin_file ; svn_stream_t * stdin_stream ; apr_file_open_stdin ( & stdin_file , pool ) ; stdin_stream = svn_stream_from_aprfile2 ( stdin_file , FALSE , pool ) ; SVN_ERR ( svn_rdump__load_dumpstream ( stdin_stream , session , aux_session , quiet , skip_revprops , check_cancel , NULL , pool ) ) ; SVN_ERR ( svn_stream_close ( stdin_stream ) ) ; return SVN_NO_ERROR ; }
Read a dumpstream from stdin, and use it to feed a loader capable
 of transmitting that information to the repository located at URL
 (to which SESSION has been opened).
Read a dumpstream from stdin and use it to feed a loader capable of transmitting that information to the repository located at URL ( to which SESSION has been opened ) .