Re: [PATCH] svn_client_diff_summarize() reports 'normal' if properties were changed
From: Martin Hauner <martin.hauner_at_gmx.net>
Date: 2006-04-24 21:52:07 CEST
Stefan Küng wrote:
The ensure_summarize feels a bit strange anyway. What about removing
Any caller of ensure_summarize would then overwrite the kind if required:
ib->summarize->summarize_kind = svn_client_diff_summarize_kind_modified;
change_prop wouldn't overwrite it. To bad it is such a long line.. ;)
> Index: subversion/libsvn_client/repos_diff_summarize.c
This looks strange here, shouldn't it be something like
if (sum->summarize_kind != svn_client_diff_summarize_kind_normal)
and after the alloc?
> sum = apr_pcalloc(ib->item_pool, sizeof(*sum));
-- Martin Subcommander, http://subcommander.tigris.org a cross platform Win32/Unix/MacOSX subversion GUI client & diff/merge tool. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Mon Apr 24 21:54:46 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.