You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by sv...@apache.org on 2022/03/29 04:00:41 UTC

svn commit: r1899334 - in /subversion/branches/1.10.x: ./ STATUS subversion/libsvn_fs_fs/verify.c subversion/po/sv.po

Author: svn-role
Date: Tue Mar 29 04:00:41 2022
New Revision: 1899334

URL: http://svn.apache.org/viewvc?rev=1899334&view=rev
Log:
Merge the 1.10.x-r1887704 branch:

 * r1887704
   Follow up to r1866587, r1866588: Unbreak a msgid.
   Justification:
     subversion.pot should be built correctly.
   Branch: ^/subversion/branches/1.10.x-r1887704
   Votes:
     +1: futatuki, stsp, markphip

Modified:
    subversion/branches/1.10.x/   (props changed)
    subversion/branches/1.10.x/STATUS
    subversion/branches/1.10.x/subversion/libsvn_fs_fs/verify.c
    subversion/branches/1.10.x/subversion/po/sv.po

Propchange: subversion/branches/1.10.x/
------------------------------------------------------------------------------
  Merged /subversion/branches/1.10.x-r1887704:r1887719-1899333
  Merged /subversion/trunk:r1887704

Modified: subversion/branches/1.10.x/STATUS
URL: http://svn.apache.org/viewvc/subversion/branches/1.10.x/STATUS?rev=1899334&r1=1899333&r2=1899334&view=diff
==============================================================================
--- subversion/branches/1.10.x/STATUS (original)
+++ subversion/branches/1.10.x/STATUS Tue Mar 29 04:00:41 2022
@@ -31,14 +31,6 @@ Veto-blocked changes:
 Approved changes:
 =================
 
- * r1887704
-   Follow up to r1866587, r1866588: Unbreak a msgid.
-   Justification:
-     subversion.pot should be built correctly.
-   Branch: ^/subversion/branches/1.10.x-r1887704
-   Votes:
-     +1: futatuki, stsp, markphip
-
  * r1835049, r1882326
    Fix issue #4762 "authz doesn't combine global and repository rules"
    Justification:

Modified: subversion/branches/1.10.x/subversion/libsvn_fs_fs/verify.c
URL: http://svn.apache.org/viewvc/subversion/branches/1.10.x/subversion/libsvn_fs_fs/verify.c?rev=1899334&r1=1899333&r2=1899334&view=diff
==============================================================================
--- subversion/branches/1.10.x/subversion/libsvn_fs_fs/verify.c (original)
+++ subversion/branches/1.10.x/subversion/libsvn_fs_fs/verify.c Tue Mar 29 04:00:41 2022
@@ -691,17 +691,20 @@ compare_p2l_to_rev(svn_fs_t *fs,
            * during later stages of the verification process. */
           if (   (entry->type == SVN_FS_FS__ITEM_TYPE_CHANGES)
               != (entry->item.number == SVN_FS_FS__ITEM_INDEX_CHANGES))
-            return svn_error_createf(SVN_ERR_FS_INDEX_CORRUPTION,
-                                     NULL,
-                                     _("p2l index entry for changes in"
-                                       " revision r%ld is item"
-                                       " %"APR_UINT64_T_FMT
-                                       " of type %u at offset %s"),
-                                     entry->item.revision,
-                                     entry->item.number,
-                                     (unsigned int)entry->type,
-                                     apr_off_t_toa(pool, offset));
-
+            {
+              const char *num_str = apr_psprintf(pool,
+                                                 "%" APR_UINT64_T_FMT,
+                                                 entry->item.number);
+              return svn_error_createf(SVN_ERR_FS_INDEX_CORRUPTION,
+                                       NULL,
+                                       _("p2l index entry for changes in"
+                                         " revision r%ld is item %s"
+                                         " of type %u at offset %s"),
+                                       entry->item.revision,
+                                       num_str,
+                                       (unsigned int)entry->type,
+                                       apr_off_t_toa(pool, offset));
+            }
           /* Check contents. */
           if (entry->type == SVN_FS_FS__ITEM_TYPE_UNUSED)
             {

Modified: subversion/branches/1.10.x/subversion/po/sv.po
URL: http://svn.apache.org/viewvc/subversion/branches/1.10.x/subversion/po/sv.po?rev=1899334&r1=1899333&r2=1899334&view=diff
==============================================================================
--- subversion/branches/1.10.x/subversion/po/sv.po [UTF-8] (original)
+++ subversion/branches/1.10.x/subversion/po/sv.po [UTF-8] Tue Mar 29 04:00:41 2022
@@ -6794,8 +6794,8 @@ msgstr "p2l-indexpost för revision r%ld
 
 #: ../libsvn_fs_fs/verify.c:696
 #, c-format
-msgid "p2l index entry for changes in revision r%ld is item %ld of type %d at offset %s"
-msgstr "p2l-indexpost för ändringar i revision r%ld är objekt %ld av typ %d på position %s"
+msgid "p2l index entry for changes in revision r%ld is item %s of type %u at offset %s"
+msgstr "p2l-indexpost för ändringar i revision r%ld är objekt %s av typ %u på position %s"
 
 #: ../libsvn_fs_util/fs-util.c:164
 msgid "Filesystem object has not been opened yet"