[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 772 - trunk/subversion/libsvn_ra_local trunk/subversion/mod_dav_svn

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-01-09 18:21:04 CET

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.