subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1444060 - /subversion/trunk/subversion/libsvn_client/diff.c
Date Fri, 08 Feb 2013 15:16:05 GMT
Author: rhuijben
Date: Fri Feb  8 15:16:05 2013
New Revision: 1444060

URL: http://svn.apache.org/r1444060
Log:
* subversion/libsvn_client/diff.c
  (diff_repos_repos_added_or_deleted_file): Following up on r1341544 and
     r1444040, apply the same fix here.

Modified:
    subversion/trunk/subversion/libsvn_client/diff.c

Modified: subversion/trunk/subversion/libsvn_client/diff.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/diff.c?rev=1444060&r1=1444059&r2=1444060&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/diff.c (original)
+++ subversion/trunk/subversion/libsvn_client/diff.c Fri Feb  8 15:16:05 2013
@@ -1692,9 +1692,8 @@ diff_repos_repos_added_or_deleted_file(c
     {
       SVN_ERR(callbacks->file_deleted(NULL, NULL,
                                       target, file_abspath, empty_file,
-                                      apr_hash_get(prop_hash,
-                                                   SVN_PROP_MIME_TYPE,
-                                                   APR_HASH_KEY_STRING),
+                                      svn_prop_get_value(prop_hash,
+                                                         SVN_PROP_MIME_TYPE),
                                       NULL,
                                       make_regular_props_hash(
                                         prop_hash, scratch_pool, scratch_pool),
@@ -1705,8 +1704,8 @@ diff_repos_repos_added_or_deleted_file(c
       SVN_ERR(callbacks->file_added(NULL, NULL, NULL,
                                     target, empty_file, file_abspath,
                                     rev1, rev2, NULL,
-                                    apr_hash_get(prop_hash, SVN_PROP_MIME_TYPE,
-                                                 APR_HASH_KEY_STRING),
+                                    svn_prop_get_value(prop_hash,
+                                                       SVN_PROP_MIME_TYPE),
                                     NULL, SVN_INVALID_REVNUM,
                                     make_regular_props_array(prop_hash,
                                                              scratch_pool,



Mime
View raw message