subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1245809 - /subversion/trunk/subversion/libsvn_wc/wc_db_wcroot.c
Date Fri, 17 Feb 2012 23:45:21 GMT
Author: stsp
Date: Fri Feb 17 23:45:21 2012
New Revision: 1245809

URL: http://svn.apache.org/viewvc?rev=1245809&view=rev
Log:
* subversion/libsvn_wc/wc_db_wcroot.c
  (svn_wc__db_wcroot_parse_local_abspath): Add a comment about not-present
   symlinks. They can cause 'svn info' to return with a "path not found" error,
   even if there is an unversioned on-disk symlink that points to an external.

Modified:
    subversion/trunk/subversion/libsvn_wc/wc_db_wcroot.c

Modified: subversion/trunk/subversion/libsvn_wc/wc_db_wcroot.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db_wcroot.c?rev=1245809&r1=1245808&r2=1245809&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db_wcroot.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db_wcroot.c Fri Feb 17 23:45:21 2012
@@ -625,6 +625,10 @@ try_symlink_as_dir:
        * points to a directory, try to find a wcroot in that
        * directory instead. */
 
+      /* ### This catches all nodes, regardless of presence.
+       * ### Should we treat not-present/excluded symlinks as
+       * ### unversioned here, allowing unversioned on-disk
+       * ### symlinks to override them? */
       SVN_ERR(svn_sqlite__get_statement(&stmt, (*wcroot)->sdb,
                                         STMT_SELECT_NODE_INFO));
       SVN_ERR(svn_sqlite__bindf(stmt, "is", (*wcroot)->wc_id, *local_relpath));



Mime
View raw message