subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1142414 - in /subversion/trunk/subversion: include/svn_client.h libsvn_client/status.c
Date Sun, 03 Jul 2011 11:07:03 GMT
Author: rhuijben
Date: Sun Jul  3 11:07:03 2011
New Revision: 1142414

URL: http://svn.apache.org/viewvc?rev=1142414&view=rev
Log:
Following up on r1142413, provide the repos_uuid via the libsvn_client status.

* subversion/include/svn_client.h
  (svn_client_status_t): Add repos_uuid.

* subversion/libsvn_client/status.c
  (svn_client_status_dup): Dup repos_uuid.
  (svn_client__create_status): Set repos_uuid.

Modified:
    subversion/trunk/subversion/include/svn_client.h
    subversion/trunk/subversion/libsvn_client/status.c

Modified: subversion/trunk/subversion/include/svn_client.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_client.h?rev=1142414&r1=1142413&r2=1142414&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_client.h (original)
+++ subversion/trunk/subversion/include/svn_client.h Sun Jul  3 11:07:03 2011
@@ -2115,6 +2115,9 @@ typedef struct svn_client_status_t
   /** The URL of the repository root. */
   const char *repos_root_url;
 
+  /** The UUID of the repository */
+  const char *repos_uuid;
+
   /** The in-repository path relative to the repository root. */
   const char *repos_relpath;
 

Modified: subversion/trunk/subversion/libsvn_client/status.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/status.c?rev=1142414&r1=1142413&r2=1142414&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/status.c (original)
+++ subversion/trunk/subversion/libsvn_client/status.c Sun Jul  3 11:07:03 2011
@@ -542,6 +542,9 @@ svn_client_status_dup(const svn_client_s
   if (status->repos_root_url)
     st->repos_root_url = apr_pstrdup(result_pool, status->repos_root_url);
 
+  if (status->repos_uuid)
+    st->repos_uuid = apr_pstrdup(result_pool, status->repos_uuid);
+
   if (status->repos_relpath)
     st->repos_relpath = apr_pstrdup(result_pool, status->repos_relpath);
 
@@ -603,6 +606,7 @@ svn_client__create_status(svn_client_sta
   (*cst)->changed_author = status->changed_author;
 
   (*cst)->repos_root_url = status->repos_root_url;
+  (*cst)->repos_uuid = status->repos_uuid;
   (*cst)->repos_relpath = status->repos_relpath;
 
   (*cst)->switched = status->switched;



Mime
View raw message