subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1808148 - in /subversion/branches/better-pristines/subversion/svn: checkout-cmd.c upgrade-cmd.c
Date Tue, 12 Sep 2017 19:52:17 GMT
Author: brane
Date: Tue Sep 12 19:52:17 2017
New Revision: 1808148

URL: http://svn.apache.org/viewvc?rev=1808148&view=rev
Log:
On the better-pristines branch: Pass the requested working copy
version from the client to the client library.

* subversion/svn/checkout-cmd.c
  (svn_cl__checkout): Here.
* subversion/svn/upgrade-cmd.c
  (svn_cl__upgrade): And here.

Modified:
    subversion/branches/better-pristines/subversion/svn/checkout-cmd.c
    subversion/branches/better-pristines/subversion/svn/upgrade-cmd.c

Modified: subversion/branches/better-pristines/subversion/svn/checkout-cmd.c
URL: http://svn.apache.org/viewvc/subversion/branches/better-pristines/subversion/svn/checkout-cmd.c?rev=1808148&r1=1808147&r2=1808148&view=diff
==============================================================================
--- subversion/branches/better-pristines/subversion/svn/checkout-cmd.c (original)
+++ subversion/branches/better-pristines/subversion/svn/checkout-cmd.c Tue Sep 12 19:52:17
2017
@@ -172,7 +172,7 @@ svn_cl__checkout(apr_getopt_t *os,
                opt_state->depth,
                opt_state->ignore_externals,
                opt_state->force,
-               /* TODO: */NULL,
+               opt_state->compatible_version,
                ctx, subpool));
     }
   svn_pool_destroy(subpool);

Modified: subversion/branches/better-pristines/subversion/svn/upgrade-cmd.c
URL: http://svn.apache.org/viewvc/subversion/branches/better-pristines/subversion/svn/upgrade-cmd.c?rev=1808148&r1=1808147&r2=1808148&view=diff
==============================================================================
--- subversion/branches/better-pristines/subversion/svn/upgrade-cmd.c (original)
+++ subversion/branches/better-pristines/subversion/svn/upgrade-cmd.c Tue Sep 12 19:52:17
2017
@@ -70,7 +70,9 @@ svn_cl__upgrade(apr_getopt_t *os,
 
       svn_pool_clear(iterpool);
       SVN_ERR(svn_cl__check_cancel(ctx->cancel_baton));
-      SVN_ERR(svn_client_upgrade2(target, /* TODO: */NULL, ctx, scratch_pool));
+      SVN_ERR(svn_client_upgrade2(target,
+                                  opt_state->compatible_version,
+                                  ctx, scratch_pool));
     }
   svn_pool_destroy(iterpool);
 



Mime
View raw message