subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1328353 - in /subversion/trunk/subversion: libsvn_ra_neon/fetch.c libsvn_ra_serf/update.c
Date Fri, 20 Apr 2012 12:34:09 GMT
Author: philip
Date: Fri Apr 20 12:34:08 2012
New Revision: 1328353

URL: http://svn.apache.org/viewvc?rev=1328353&view=rev
Log:
* subversion/libsvn_ra_neon/fetch.c
  (start_element): Use SVN_STR_TO_REV to match rest of the code.

* subversion/libsvn_ra_serf/update.c
  (start_report): Use SVN_STR_TO_REV to match rest of the code.

Modified:
    subversion/trunk/subversion/libsvn_ra_neon/fetch.c
    subversion/trunk/subversion/libsvn_ra_serf/update.c

Modified: subversion/trunk/subversion/libsvn_ra_neon/fetch.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_neon/fetch.c?rev=1328353&r1=1328352&r2=1328353&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_neon/fetch.c (original)
+++ subversion/trunk/subversion/libsvn_ra_neon/fetch.c Fri Apr 20 12:34:08 2012
@@ -1831,7 +1831,7 @@ start_element(int *elem, void *userdata,
 
       att = svn_xml_get_attr_value("rev", atts);
       if (att) /* Not available on older repositories! */
-        crev = (svn_revnum_t)apr_strtoi64(att, NULL, 0);
+        crev = SVN_STR_TO_REV(att);
 
       parent_dir = &TOP_DIR(rb);
 

Modified: subversion/trunk/subversion/libsvn_ra_serf/update.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/update.c?rev=1328353&r1=1328352&r2=1328353&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/update.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/update.c Fri Apr 20 12:34:08 2012
@@ -1576,7 +1576,7 @@ start_report(svn_ra_serf__xml_parser_t *
 
       rev_str = svn_xml_get_attr_value("rev", attrs);
       if (rev_str) /* Not available on older repositories! */
-        delete_rev = (svn_revnum_t)apr_strtoi64(rev_str, NULL, 0);
+        delete_rev = SVN_STR_TO_REV(rev_str);
 
       info = parser->state->private;
 



Mime
View raw message