You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2012/02/18 00:45:21 UTC

svn commit: r1245809 - /subversion/trunk/subversion/libsvn_wc/wc_db_wcroot.c

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));