subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmpil...@apache.org
Subject svn commit: r938012 - /subversion/trunk/subversion/libsvn_client/status.c
Date Mon, 26 Apr 2010 11:47:04 GMT
Author: cmpilato
Date: Mon Apr 26 11:47:04 2010
New Revision: 938012

URL: http://svn.apache.org/viewvc?rev=938012&view=rev
Log:
* subversion/libsvn_client/status.c
  (svn_client_status5): Fix a copy-and-pasto, and add a FIXME comment.

Modified:
    subversion/trunk/subversion/libsvn_client/status.c

Modified: subversion/trunk/subversion/libsvn_client/status.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/status.c?rev=938012&r1=938011&r2=938012&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/status.c (original)
+++ subversion/trunk/subversion/libsvn_client/status.c Mon Apr 26 11:47:04 2010
@@ -398,13 +398,16 @@ svn_client_status5(svn_revnum_t *result_
              versioned, then it must have since been deleted from the
              repository.  (Note that "locally replaced" doesn't count
              as "added" in this case.)  */
+
+          /* ### FIXME:  WC-1 code here was just (! added).  Not sure
+             ### if this WC-NG approach matches semantically.  */
           SVN_ERR(svn_wc__node_is_added(&added, ctx->wc_ctx,
                                         dir_abspath, pool));
           if (added)
             {
               svn_boolean_t replaced;
 
-              SVN_ERR(svn_wc__node_is_replaced(&added, ctx->wc_ctx,
+              SVN_ERR(svn_wc__node_is_replaced(&replaced, ctx->wc_ctx,
                                                dir_abspath, pool));
               if (replaced)
                 added = FALSE;



Mime
View raw message