[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 2684 - trunk/subversion/include trunk/subversion/mod_dav_svn trunk/subversion/clients/cmdline trunk/subversion/libsvn_repos trunk/subversion/libsvn_ra_dav

From: <cmpilato_at_collab.net>
Date: 2002-07-25 00:51:12 CEST

Nuutti Kotivuori <naked@iki.fi> writes:

> I hope you can clear up this one detail.
>
> cmpilato@tigris.org wrote:
> > * subversion/libsvn_repos/log.c
> > (detect_changed): Use 'M' for modify, not 'U'. Use new
> > svn_log_changed_path_t structures in the returned hash, and
> > check for copy history on adds and replaces.
>
> Ookay.
>
> > * subversion/clients/cmdline/log-cmd.c
> > (log_message_receiver): Print copyfrom info returned from `svn
> > log'.
>
> Good. But you didn't change log_message_receiver_xml - that's OK
> too, no-one else remembers either. I'll do it.

Doh! Thanks.

> > SVN_ERR (svn_utf_cstring_from_utf8 (&path_native, path, pool));
> > - printf (" %c %s\n", action, path_native);
> > + printf (" %c %s%s\n",
> > + (log_item->action == 'M') ? 'U' : log_item->action,
> > + path_native, copy_data);
> > }
>
> But I don't get this? Why do we hide 'M' as an action, and instead
> show 'U'?

The 'M' is simply more "correct" for internal purposes. The 'U'
that the client binary prints exists only for consistency with the
kind of output 'svn update' yields.

> Should the XML output have the same action letter as well?

Sure. I guess. I dunno nuttin' 'bout the XML output.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 25 00:50:50 2002

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.