subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject svn commit: r1336410 - /subversion/trunk/subversion/libsvn_ra_serf/util.c
Date Wed, 09 May 2012 21:22:15 GMT
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



Mime
View raw message