sussman@tigris.org writes:
> Modified: trunk/subversion/libsvn_ra_local/update_editor.c
> ==============================================================================
> --- OLD/trunk/subversion/libsvn_ra_local/update_editor.c Wed Jan 9 10:55:55 2002
> +++ NEW/trunk/subversion/libsvn_ra_local/update_editor.c Wed Jan 9 10:55:55 2002
> @@ -101,19 +101,17 @@
> name = svn_stringbuf_create (SVN_PROP_ENTRY_COMMITTED_REV, subpool);
> value = svn_stringbuf_create (revision_str, subpool);
> SVN_ERR ((*pset_func) (real_baton, name, value));
> -
> +
> + /* Give the update editor either real or NULL values for the date
> + and author props. */
> + name = svn_stringbuf_create (SVN_PROP_ENTRY_COMMITTED_DATE, subpool);
> if (committed_date)
> - {
> - name = svn_stringbuf_create (SVN_PROP_ENTRY_COMMITTED_DATE, subpool);
> - value = svn_stringbuf_create_from_string (committed_date, subpool);
> - }
> + value = svn_stringbuf_create_from_string (committed_date, subpool);
If committed_date is null value isn't changed and so the commited rev
value is sent as the commited date.
> SVN_ERR ((*pset_func) (real_baton, name, value));
>
> + name = svn_stringbuf_create (SVN_PROP_ENTRY_LAST_AUTHOR, subpool);
> if (last_author)
> - {
> - name = svn_stringbuf_create (SVN_PROP_ENTRY_LAST_AUTHOR, subpool);
> - value = svn_stringbuf_create_from_string (last_author, subpool);
> - }
> + value = svn_stringbuf_create_from_string (last_author, subpool);
Ditto for last_author
--
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:55 2006