Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C658DF19 for ; Thu, 23 Aug 2012 13:22:34 +0000 (UTC) Received: (qmail 60589 invoked by uid 500); 23 Aug 2012 13:22:33 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 60551 invoked by uid 500); 23 Aug 2012 13:22:33 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 60543 invoked by uid 99); 23 Aug 2012 13:22:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2012 13:22:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.215.171] (HELO mail-ey0-f171.google.com) (209.85.215.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2012 13:22:27 +0000 Received: by eaah11 with SMTP id h11so341327eaa.16 for ; Thu, 23 Aug 2012 06:22:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:content-language :thread-index:x-gm-message-state; bh=4j2FwDRrcQjr5Lb4tm88V2P9WLNmKYZLDVBdV8toYOo=; b=RzzUHbem6VyUuLIsuv6LNEQRazt5eYINtv56jjCA3I8ydzaK3e0HQ3GH99/S9IWNVl zcst1bggrGpP7xkCMXXkDH+EhFrnUH1h5SF7VHipD1iGCujq/o8JcqhjFgrjAvnwIVLq Ls0NJ9iey1WZRH+icUIuF8Ee9clfTtazUkvZlLdkkVwYfXmimhHsnIL1E4wH/VPPCJ9h AdU0bowy4d2kv8QStaSATtS0NaSLCH+l9fVCWNOWQvi6rh6OsqW8TYqwgq9UnoHv05E+ I1w803l3vgmguJTXzLK1pIDLZx2m4zmPeU5tOEMYHcK8F+AQGvPHO4nz/TM4jvryZI4O xuYQ== Received: by 10.14.215.197 with SMTP id e45mr1907061eep.36.1345728124473; Thu, 23 Aug 2012 06:22:04 -0700 (PDT) Received: from i72600 ([2001:610:66e:0:59f6:6194:a164:dbd7]) by mx.google.com with ESMTPS id 45sm21437986eed.17.2012.08.23.06.22.03 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Aug 2012 06:22:03 -0700 (PDT) From: "Bert Huijben" To: , References: <20120823110855.5738923888E4@eris.apache.org> In-Reply-To: <20120823110855.5738923888E4@eris.apache.org> Subject: RE: svn commit: r1376436 - /subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c Date: Thu, 23 Aug 2012 15:21:55 +0200 Message-ID: <006c01cd8132$44cf32f0$ce6d98d0$@qqmail.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Content-Language: nl Thread-Index: AQLU5skx8oF3czWQ3ZA2cJVR+Ks/s5VYlqOg X-Gm-Message-State: ALoCoQn7cPw8XdmkLyD4NJ63X/3yqfbPrqnqoMnJfmKjCM8x/tsYQqwWh/HMI0qGkkFAQM0VQEAk X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: philip@apache.org [mailto:philip@apache.org] > Sent: donderdag 23 augustus 2012 13:09 > To: commits@subversion.apache.org > Subject: svn commit: r1376436 - > /subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c >=20 > Author: philip > Date: Thu Aug 23 11:08:54 2012 > New Revision: 1376436 >=20 > URL: http://svn.apache.org/viewvc?rev=3D1376436&view=3Drev > Log: > Fix issue 4220, revprop packing post-commit breaks commit. >=20 > * subversion/libsvn_fs_fs/fs_fs.c > (get_revision_proplist): Fall through to packed if possible. >=20 > Modified: > subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c >=20 > Modified: subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c > URL: > = http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/fs > _fs.c?rev=3D1376436&r1=3D1376435&r2=3D1376436&view=3Ddiff > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c (original) > +++ subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c Thu Aug 23 = 11:08:54 > 2012 > @@ -3681,8 +3681,18 @@ get_revision_proplist(apr_hash_t **propl > * non-packed shard. If that fails, we will fall through to packed > * shard reads. */ > if (!is_packed_revprop(fs, rev)) > - SVN_ERR(read_non_packed_revprop(proplist_p, fs, rev, generation, > - pool)); > + { > + svn_error_t *err =3D read_non_packed_revprop(proplist_p, fs, = rev, > + generation, pool); > + if (err) > + { > + if (!APR_STATUS_IS_ENOENT(err->apr_err) > + || ffd->format < SVN_FS_FS__MIN_PACKED_REVPROP_FORMAT) > + return svn_error_trace(err); > + > + svn_error_clear(err); Are the output arguments of read_no_packed_revprop guaranteed (or = unused) after this error clear + fall through? Bert > + } > + } >=20 > /* if revprop packing is available and we have not read the = revprops, yet, > * try reading them from a packed shard. If that fails, REV is = most >=20