You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2011/08/05 23:10:32 UTC

svn commit: r1154382 - /subversion/trunk/subversion/libsvn_ra_serf/serf.c

Author: rhuijben
Date: Fri Aug  5 21:10:32 2011
New Revision: 1154382

URL: http://svn.apache.org/viewvc?rev=1154382&view=rev
Log:
* subversion/libsvn_ra_serf/serf.c
  (svn_ra_serf__get_dir): Following up on r1154379, return only the new results
    instead of the old results (or a combination) when just noticing a very
    old server.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/serf.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/serf.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/serf.c?rev=1154382&r1=1154381&r2=1154382&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/serf.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/serf.c Fri Aug  5 21:10:32 2011
@@ -39,10 +39,11 @@
 #include "../libsvn_ra/ra_loader.h"
 #include "svn_config.h"
 #include "svn_delta.h"
-#include "svn_version.h"
 #include "svn_dirent_uri.h"
+#include "svn_hash.h"
 #include "svn_path.h"
 #include "svn_time.h"
+#include "svn_version.h"
 
 #include "private/svn_dav_protocol.h"
 #include "private/svn_dep_compat.h"
@@ -1029,6 +1030,13 @@ svn_ra_serf__get_dir(svn_ra_session_t *r
                                               get_dirent_props(dirent_fields,
                                                                session, pool),
                                               pool, pool));
+
+          SVN_ERR(svn_hash__clear(dirent_walk.full_paths, pool));
+          SVN_ERR(svn_hash__clear(dirent_walk.base_paths, pool));
+
+          SVN_ERR(svn_ra_serf__walk_all_paths(props, revision,
+                                              path_dirent_walker,
+                                              &dirent_walk, pool));
         }
 
       *dirents = dirent_walk.base_paths;