logo       

svn commit: r13145 - trunk/subversion/libsvn_client: msg#00322

version-control.subversion.svn

Subject: svn commit: r13145 - trunk/subversion/libsvn_client

Author: brane
Date: Thu Feb 24 18:45:41 2005
New Revision: 13145

Modified:
trunk/subversion/libsvn_client/info.c
Log:
All those i's were making my eyes water...

* subversion/libsvn_client/info.c
(build_info_from_dirent, build_info_from_entry): Rename "i" to "tmpinfo".


Modified: trunk/subversion/libsvn_client/info.c
Url:
http://svn.collab.net/viewcvs/svn/trunk/subversion/libsvn_client/info.c?view=diff&rev=13145&p1=trunk/subversion/libsvn_client/info.c&r1=13144&p2=trunk/subversion/libsvn_client/info.c&r2=13145
==============================================================================
--- trunk/subversion/libsvn_client/info.c (original)
+++ trunk/subversion/libsvn_client/info.c Thu Feb 24 18:45:41 2005
@@ -40,18 +40,18 @@
const char *repos_root,
apr_pool_t *pool)
{
- svn_info_t *i = apr_pcalloc (pool, sizeof(*i));
+ svn_info_t *tmpinfo = apr_pcalloc (pool, sizeof(*tmpinfo));

- i->URL = URL;
- i->rev = revision;
- i->kind = dirent->kind;
- i->repos_UUID = repos_UUID;
- i->repos_root_URL = repos_root;
- i->last_changed_rev = dirent->created_rev;
- i->last_changed_date = dirent->time;
- i->last_changed_author = dirent->last_author;;
-
- *info = i;
+ tmpinfo->URL = URL;
+ tmpinfo->rev = revision;
+ tmpinfo->kind = dirent->kind;
+ tmpinfo->repos_UUID = repos_UUID;
+ tmpinfo->repos_root_URL = repos_root;
+ tmpinfo->last_changed_rev = dirent->created_rev;
+ tmpinfo->last_changed_date = dirent->time;
+ tmpinfo->last_changed_author = dirent->last_author;;
+
+ *info = tmpinfo;
return SVN_NO_ERROR;
}

@@ -63,30 +63,30 @@
const svn_wc_entry_t *entry,
apr_pool_t *pool)
{
- svn_info_t *i = apr_pcalloc (pool, sizeof(*i));
+ svn_info_t *tmpinfo = apr_pcalloc (pool, sizeof(*tmpinfo));
+
+ tmpinfo->URL = entry->url;
+ tmpinfo->rev = entry->revision;
+ tmpinfo->kind = entry->kind;
+ tmpinfo->repos_UUID = entry->uuid;
+ tmpinfo->last_changed_rev = entry->cmt_rev;
+ tmpinfo->last_changed_date = entry->cmt_date;
+ tmpinfo->last_changed_author = entry->cmt_author;

- i->URL = entry->url;
- i->rev = entry->revision;
- i->kind = entry->kind;
- i->repos_UUID = entry->uuid;
- i->last_changed_rev = entry->cmt_rev;
- i->last_changed_date = entry->cmt_date;
- i->last_changed_author = entry->cmt_author;
-
/* entry-specific stuff */
- i->has_wc_info = TRUE;
- i->schedule = entry->schedule;
- i->copyfrom_url = entry->copyfrom_url;
- i->copyfrom_rev = entry->copyfrom_rev;
- i->text_time = entry->text_time;
- i->prop_time = entry->prop_time;
- i->checksum = entry->checksum;
- i->conflict_old = entry->conflict_old;
- i->conflict_new = entry->conflict_new;
- i->conflict_wrk = entry->conflict_wrk;
- i->prejfile = entry->prejfile;
+ tmpinfo->has_wc_info = TRUE;
+ tmpinfo->schedule = entry->schedule;
+ tmpinfo->copyfrom_url = entry->copyfrom_url;
+ tmpinfo->copyfrom_rev = entry->copyfrom_rev;
+ tmpinfo->text_time = entry->text_time;
+ tmpinfo->prop_time = entry->prop_time;
+ tmpinfo->checksum = entry->checksum;
+ tmpinfo->conflict_old = entry->conflict_old;
+ tmpinfo->conflict_new = entry->conflict_new;
+ tmpinfo->conflict_wrk = entry->conflict_wrk;
+ tmpinfo->prejfile = entry->prejfile;

- *info = i;
+ *info = tmpinfo;
return SVN_NO_ERROR;
}


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise