~ubuntu-branches/debian/experimental/subversion/experimental

« back to all changes in this revision

Viewing changes to subversion/libsvn_fs_x/cached_data.c

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2015-07-16 19:39:54 UTC
  • mfrom: (0.1.13)
  • Revision ID: package-import@ubuntu.com-20150716193954-6ueu2w62h4h556xh
Tags: 1.9.0~rc3-1
* New upstream pre-release.
* Point the Vcs-* URLs at the right directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
838
838
          && entry->type != SVN_FS_X__ITEM_TYPE_FILE_PROPS
839
839
          && entry->type != SVN_FS_X__ITEM_TYPE_DIR_PROPS
840
840
          && entry->type != SVN_FS_X__ITEM_TYPE_REPS_CONT))
841
 
    return svn_error_createf(SVN_ERR_REPOS_CORRUPTED, NULL,
 
841
    return svn_error_createf(SVN_ERR_FS_CORRUPT, NULL,
842
842
                             _("No representation found at offset %s "
843
843
                               "for item %s in revision %ld"),
844
844
                             apr_off_t_toa(scratch_pool, offset),
2534
2534
      /* In incremental mode, update the hash; otherwise, write to the
2535
2535
       * final array. */
2536
2536
      if (incremental)
2537
 
        apr_hash_set(hash, entry.key, entry.keylen, dirent);
 
2537
        apr_hash_set(hash, dirent->name, entry.keylen, dirent);
2538
2538
      else
2539
2539
        APR_ARRAY_PUSH(entries, svn_fs_x__dirent_t *) = dirent;
2540
2540
    }