Index: rep-cache.c
===================================================================
--- rep-cache.c	(Revision 1182495)
+++ rep-cache.c	(Arbeitskopie)
@@ -186,14 +186,17 @@
       SVN_ERR(svn_checksum_parse_hex(&rep->sha1_checksum,
                                      svn_checksum_sha1, sha1_digest,
                                      iterpool));
-      rep->revision = svn_sqlite__column_revnum(stmt, 1);
-      rep->offset = svn_sqlite__column_int64(stmt, 2);
-      rep->size = svn_sqlite__column_int64(stmt, 3);
-      rep->expanded_size = svn_sqlite__column_int64(stmt, 4);
 
-      /* Sanity check. */
-      if (rep)
+	  if (rep)
+	  {
+		rep->revision = svn_sqlite__column_revnum(stmt, 1);
+		rep->offset = svn_sqlite__column_int64(stmt, 2);
+		rep->size = svn_sqlite__column_int64(stmt, 3);
+		rep->expanded_size = svn_sqlite__column_int64(stmt, 4);
+		
+		/* Sanity check. */
         SVN_ERR(rep_has_been_born(rep, fs, iterpool));
+	  }
 
       /* Walk. */
       SVN_ERR(walker(rep, walker_baton, fs, iterpool));
