Subversion 1.6.16
Functions

View the contents of a file in the repository.

Client working copy management

Functions

svn_error_tsvn_client_cat2 (svn_stream_t *out, const char *path_or_url, const svn_opt_revision_t *peg_revision, const svn_opt_revision_t *revision, svn_client_ctx_t *ctx, apr_pool_t *pool)
 Output the content of file identified by path_or_url and revision to the stream out.
svn_error_tsvn_client_cat (svn_stream_t *out, const char *path_or_url, const svn_opt_revision_t *revision, svn_client_ctx_t *ctx, apr_pool_t *pool)
 Similar to svn_client_cat2() except that the peg revision is always the same as revision.

Function Documentation

svn_error_t* svn_client_cat ( svn_stream_t out,
const char *  path_or_url,
const svn_opt_revision_t revision,
svn_client_ctx_t ctx,
apr_pool_t *  pool 
)

Similar to svn_client_cat2() except that the peg revision is always the same as revision.

Deprecated:
Provided for backward compatibility with the 1.1 API.
svn_error_t* svn_client_cat2 ( svn_stream_t out,
const char *  path_or_url,
const svn_opt_revision_t peg_revision,
const svn_opt_revision_t revision,
svn_client_ctx_t ctx,
apr_pool_t *  pool 
)

Output the content of file identified by path_or_url and revision to the stream out.

The actual node revision selected is determined by the path as it exists in peg_revision. If peg_revision->kind is svn_opt_revision_unspecified, then it defaults to svn_opt_revision_head for URLs or svn_opt_revision_working for WC targets.

If path_or_url is not a local path, then if revision is of kind svn_opt_revision_previous (or some other kind that requires a local path), an error will be returned, because the desired revision cannot be determined.

Use the authentication baton cached in ctx to authenticate against the repository.

Perform all allocations from pool.

###

Todo:
Add an expansion/translation flag?
Since:
New in 1.2.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines