> From: sussman@tigris.org [mailto:sussman@tigris.org]
> Sent: Friday, April 04, 2003 9:36 PM
> Author: sussman
> Date: Fri Apr 4 13:36:25 2003
> New Revision: 5553
>
> Modified:
> trunk/subversion/libsvn_wc/diff.c
> Log:
>
> Fix issue #1220: 'svn diff' should only show local mods on
> schedule-add-with-history files, not the entire file.
>
> * diff.c (file_diff): if entry is 'copied', then don't show whole
> thing as added by comparing to empty file; instead, do the usual
> comparsion between working and text-base files.
[...]
> +
> + /* If the item is schedule-add *with history*, then we don't want to
> + see a comparison to the empty file; we want the usual working
> + vs. text-base comparision. */
> + if (copied)
> + schedule = svn_wc_schedule_normal;
This is missing one little detail, setting the label for the original file
to the copied-from filename.
Sander
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 5 00:28:56 2003