You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2011/11/07 11:25:46 UTC
svn commit: r1198694 - /subversion/trunk/subversion/include/svn_client.h
Author: julianfoad
Date: Mon Nov 7 10:25:45 2011
New Revision: 1198694
URL: http://svn.apache.org/viewvc?rev=1198694&view=rev
Log:
* subversion/include/svn_client.h
(svn_client_diff6, svn_client_diff_peg6, svn_client_diff_summarize2,
svn_client_diff_summarize_peg2): Rename parameters and variables that can
be either a WC path or a URL to use the form 'path_or_url' rather than
just 'path', for clarity, following r1198691.
Modified:
subversion/trunk/subversion/include/svn_client.h
Modified: subversion/trunk/subversion/include/svn_client.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_client.h?rev=1198694&r1=1198693&r2=1198694&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_client.h (original)
+++ subversion/trunk/subversion/include/svn_client.h Mon Nov 7 10:25:45 2011
@@ -2746,9 +2746,10 @@ svn_client_blame(const char *path_or_url
/**
* Produce diff output which describes the delta between
- * @a path1/@a revision1 and @a path2/@a revision2. Print the output
- * of the diff to @a outstream, and any errors to @a errstream. @a path1
- * and @a path2 can be either working-copy paths or URLs.
+ * @a path_or_url1/@a revision1 and @a path_or_url2/@a revision2. Print
+ * the output of the diff to @a outstream, and any errors to @a
+ * errstream. @a path_or_url1 and @a path_or_url2 can be either
+ * working-copy paths or URLs.
*
* If @a relative_to_dir is not @c NULL, the @a original_path and
* @a modified_path will have the @a relative_to_dir stripped from the
@@ -2761,9 +2762,10 @@ svn_client_blame(const char *path_or_url
* If either @a revision1 or @a revision2 has an `unspecified' or
* unrecognized `kind', return #SVN_ERR_CLIENT_BAD_REVISION.
*
- * @a path1 and @a path2 must both represent the same node kind -- that
- * is, if @a path1 is a directory, @a path2 must also be, and if @a path1
- * is a file, @a path2 must also be.
+ * @a path_or_url1 and @a path_or_url2 must both represent the same node
+ * kind -- that is, if @a path_or_url1 is a directory, @a path_or_url2
+ * must also be, and if @a path_or_url1 is a file, @a path_or_url2 must
+ * also be.
*
* If @a depth is #svn_depth_infinity, diff fully recursively.
* Else if it is #svn_depth_immediates, diff the named paths and
@@ -2829,9 +2831,9 @@ svn_client_blame(const char *path_or_url
*/
svn_error_t *
svn_client_diff6(const apr_array_header_t *diff_options,
- const char *path1,
+ const char *path_or_url1,
const svn_opt_revision_t *revision1,
- const char *path2,
+ const char *path_or_url2,
const svn_opt_revision_t *revision2,
const char *relative_to_dir,
svn_depth_t depth,
@@ -2972,14 +2974,14 @@ svn_client_diff(const apr_array_header_t
apr_pool_t *pool);
/**
- * Produce diff output which describes the delta between the
- * filesystem object @a path in peg revision @a peg_revision, as it
- * changed between @a start_revision and @a end_revision. @a path can
+ * Produce diff output which describes the delta between the filesystem
+ * object @a path_or_url in peg revision @a peg_revision, as it changed
+ * between @a start_revision and @a end_revision. @a path_or_url can
* be either a working-copy path or URL.
*
* If @a peg_revision is #svn_opt_revision_unspecified, behave
- * identically to svn_client_diff6(), using @a path for both of that
- * function's @a path1 and @a path2 arguments.
+ * identically to svn_client_diff6(), using @a path_or_url for both of that
+ * function's @a path_or_url1 and @a path_or_url2 arguments.
*
* All other options are handled identically to svn_client_diff6().
*
@@ -2987,7 +2989,7 @@ svn_client_diff(const apr_array_header_t
*/
svn_error_t *
svn_client_diff_peg6(const apr_array_header_t *diff_options,
- const char *path,
+ const char *path_or_url,
const svn_opt_revision_t *peg_revision,
const svn_opt_revision_t *start_revision,
const svn_opt_revision_t *end_revision,
@@ -3131,8 +3133,9 @@ svn_client_diff_peg(const apr_array_head
/**
* Produce a diff summary which lists the changed items between
- * @a path1/@a revision1 and @a path2/@a revision2 without creating text
- * deltas. @a path1 and @a path2 can be either working-copy paths or URLs.
+ * @a path_or_url1/@a revision1 and @a path_or_url2/@a revision2 without
+ * creating text deltas. @a path_or_url1 and @a path_or_url2 can be
+ * either working-copy paths or URLs.
*
* The function may report false positives if @a ignore_ancestry is false,
* since a file might have been modified between two revisions, but still
@@ -3146,9 +3149,9 @@ svn_client_diff_peg(const apr_array_head
* @since New in 1.5.
*/
svn_error_t *
-svn_client_diff_summarize2(const char *path1,
+svn_client_diff_summarize2(const char *path_or_url1,
const svn_opt_revision_t *revision1,
- const char *path2,
+ const char *path_or_url2,
const svn_opt_revision_t *revision2,
svn_depth_t depth,
svn_boolean_t ignore_ancestry,
@@ -3183,13 +3186,13 @@ svn_client_diff_summarize(const char *pa
/**
* Produce a diff summary which lists the changed items between the
- * filesystem object @a path in peg revision @a peg_revision, as it
- * changed between @a start_revision and @a end_revision. @a path can
+ * filesystem object @a path_or_url in peg revision @a peg_revision, as it
+ * changed between @a start_revision and @a end_revision. @a path_or_url can
* be either a working-copy path or URL.
*
* If @a peg_revision is #svn_opt_revision_unspecified, behave
- * identically to svn_client_diff_summarize2(), using @a path for both
- * of that function's @a path1 and @a path2 arguments.
+ * identically to svn_client_diff_summarize2(), using @a path_or_url for
+ * both of that function's @a path_or_url1 and @a path_or_url2 arguments.
*
* The function may report false positives if @a ignore_ancestry is false,
* as described in the documentation for svn_client_diff_summarize2().
@@ -3202,7 +3205,7 @@ svn_client_diff_summarize(const char *pa
* @since New in 1.5.
*/
svn_error_t *
-svn_client_diff_summarize_peg2(const char *path,
+svn_client_diff_summarize_peg2(const char *path_or_url,
const svn_opt_revision_t *peg_revision,
const svn_opt_revision_t *start_revision,
const svn_opt_revision_t *end_revision,