~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to subversion/libsvn_fs_base/dag.c

  • Committer: Package Import Robot
  • Author(s): James McCoy, Peter Samuelson, James McCoy
  • Date: 2014-01-12 19:48:33 UTC
  • mfrom: (0.2.10)
  • Revision ID: package-import@ubuntu.com-20140112194833-w3axfwksn296jn5x
Tags: 1.8.5-1
[ Peter Samuelson ]
* New upstream release.  (Closes: #725787) Rediff patches:
  - Remove apr-abi1 (applied upstream), rename apr-abi2 to apr-abi
  - Remove loosen-sqlite-version-check (shouldn't be needed)
  - Remove java-osgi-metadata (applied upstream)
  - svnmucc prompts for a changelog if none is provided. (Closes: #507430)
  - Remove fix-bdb-version-detection, upstream uses "apu-config --dbm-libs"
  - Remove ruby-test-wc (applied upstream)
  - Fix “svn diff -r N file” when file has svn:mime-type set.
    (Closes: #734163)
  - Support specifying an encoding for mod_dav_svn's environment in which
    hooks are run.  (Closes: #601544)
  - Fix ordering of “svnadmin dump” paths with certain APR versions.
    (Closes: #687291)
  - Provide a better error message when authentication fails with an
    svn+ssh:// URL.  (Closes: #273874)
  - Updated Polish translations.  (Closes: #690815)

[ James McCoy ]
* Remove all traces of libneon, replaced by libserf.
* patches/sqlite_3.8.x_workaround: Upstream fix for wc-queries-test test
  failurse.
* Run configure with --with-apache-libexecdir, which allows removing part of
  patches/rpath.
* Re-enable auth-test as upstream has fixed the problem of picking up
  libraries from the environment rather than the build tree.
  (Closes: #654172)
* Point LD_LIBRARY_PATH at the built auth libraries when running the svn
  command during the build.  (Closes: #678224)
* Add a NEWS entry describing how to configure mod_dav_svn to understand
  UTF-8.  (Closes: #566148)
* Remove ancient transitional package, libsvn-ruby.
* Enable compatibility with Sqlite3 versions back to Wheezy.
* Enable hardening flags.  (Closes: #734918)
* patches/build-fixes: Enable verbose build logs.
* Build against the default ruby version.  (Closes: #722393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
350
350
 
351
351
  SVN_ERR(svn_fs_base__dag_dir_entries(&entries, parent, trail, pool));
352
352
  if (entries)
353
 
    dirent = apr_hash_get(entries, name, APR_HASH_KEY_STRING);
 
353
    dirent = svn_hash_gets(entries, name);
354
354
  else
355
355
    dirent = NULL;
356
356
 
421
421
    entries = apr_hash_make(pool);
422
422
 
423
423
  /* Now, add our new entry to the entries list. */
424
 
  apr_hash_set(entries, name, APR_HASH_KEY_STRING, id);
 
424
  svn_hash_sets(entries, name, id);
425
425
 
426
426
  /* Finally, replace the old entries list with the new one. */
427
427
  SVN_ERR(svn_fs_base__unparse_entries_skel(&entries_skel, entries,
579
579
 
580
580
svn_error_t *
581
581
svn_fs_base__dag_set_proplist(dag_node_t *node,
582
 
                              apr_hash_t *proplist,
 
582
                              const apr_hash_t *proplist,
583
583
                              const char *txn_id,
584
584
                              trail_t *trail,
585
585
                              apr_pool_t *pool)
910
910
 
911
911
  /* Find NAME in the ENTRIES skel.  */
912
912
  if (entries)
913
 
    id = apr_hash_get(entries, name, APR_HASH_KEY_STRING);
 
913
    id = svn_hash_gets(entries, name);
914
914
 
915
915
  /* If we never found ID in ENTRIES (perhaps because there are no
916
916
     ENTRIES, perhaps because ID just isn't in the existing ENTRIES
929
929
                                             trail, pool));
930
930
 
931
931
  /* Remove this entry from its parent's entries list. */
932
 
  apr_hash_set(entries, name, APR_HASH_KEY_STRING, NULL);
 
932
  svn_hash_sets(entries, name, NULL);
933
933
 
934
934
  /* Replace the old entries list with the new one. */
935
935
  {
1593
1593
  *new_rev = SVN_INVALID_REVNUM;
1594
1594
  SVN_ERR(svn_fs_bdb__put_rev(new_rev, fs, &revision, trail, pool));
1595
1595
 
1596
 
  if (apr_hash_get(txnprops, SVN_FS__PROP_TXN_CHECK_OOD, APR_HASH_KEY_STRING))
 
1596
  if (svn_hash_gets(txnprops, SVN_FS__PROP_TXN_CHECK_OOD))
1597
1597
    SVN_ERR(svn_fs_base__set_txn_prop
1598
1598
            (fs, txn_id, SVN_FS__PROP_TXN_CHECK_OOD, NULL, trail, pool));
1599
1599
 
1600
 
  if (apr_hash_get(txnprops, SVN_FS__PROP_TXN_CHECK_LOCKS,
1601
 
                   APR_HASH_KEY_STRING))
 
1600
  if (svn_hash_gets(txnprops, SVN_FS__PROP_TXN_CHECK_LOCKS))
1602
1601
    SVN_ERR(svn_fs_base__set_txn_prop
1603
1602
            (fs, txn_id, SVN_FS__PROP_TXN_CHECK_LOCKS, NULL, trail, pool));
1604
1603
 
1632
1631
  if (! props_changed && ! contents_changed)
1633
1632
    return SVN_NO_ERROR;
1634
1633
 
1635
 
  /* The the node revision skels for these two nodes. */
 
1634
  /* The node revision skels for these two nodes. */
1636
1635
  SVN_ERR(svn_fs_bdb__get_node_revision(&noderev1, node1->fs, node1->id,
1637
1636
                                        trail, pool));
1638
1637
  SVN_ERR(svn_fs_bdb__get_node_revision(&noderev2, node2->fs, node2->id,