Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72B389293 for ; Wed, 9 May 2012 21:22:38 +0000 (UTC) Received: (qmail 75793 invoked by uid 500); 9 May 2012 21:22:38 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 75763 invoked by uid 500); 9 May 2012 21:22:38 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 75756 invoked by uid 99); 9 May 2012 21:22:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 21:22:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 21:22:35 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 158562388865; Wed, 9 May 2012 21:22:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1336410 - /subversion/trunk/subversion/libsvn_ra_serf/util.c Date: Wed, 09 May 2012 21:22:15 -0000 To: commits@subversion.apache.org From: gstein@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120509212215.158562388865@eris.apache.org> Author: gstein Date: Wed May 9 21:22:14 2012 New Revision: 1336410 URL: http://svn.apache.org/viewvc?rev=1336410&view=rev Log: Use the short-form of the property accessors since the revision is always SVN_INVALID_REVNUM. * subversion/libsvn_ra_serf/util.c: (svn_ra_serf__discover_vcc): use get_prop rather than get_ver_prop. Modified: subversion/trunk/subversion/libsvn_ra_serf/util.c Modified: subversion/trunk/subversion/libsvn_ra_serf/util.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/util.c?rev=1336410&r1=1336409&r2=1336410&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_ra_serf/util.c (original) +++ subversion/trunk/subversion/libsvn_ra_serf/util.c Wed May 9 21:22:14 2012 @@ -2076,20 +2076,17 @@ svn_ra_serf__discover_vcc(const char **v if (! err) { *vcc_url = - svn_ra_serf__get_ver_prop(props, path, - SVN_INVALID_REVNUM, - "DAV:", - "version-controlled-configuration"); - - relative_path = svn_ra_serf__get_ver_prop(props, path, - SVN_INVALID_REVNUM, - SVN_DAV_PROP_NS_DAV, - "baseline-relative-path"); - - uuid = svn_ra_serf__get_ver_prop(props, path, - SVN_INVALID_REVNUM, - SVN_DAV_PROP_NS_DAV, - "repository-uuid"); + svn_ra_serf__get_prop(props, path, + "DAV:", + "version-controlled-configuration"); + + relative_path = svn_ra_serf__get_prop(props, path, + SVN_DAV_PROP_NS_DAV, + "baseline-relative-path"); + + uuid = svn_ra_serf__get_prop(props, path, + SVN_DAV_PROP_NS_DAV, + "repository-uuid"); break; } else