[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 5553 - trunk/subversion/libsvn_wc

From: Sander Striker <striker_at_apache.org>
Date: 2003-04-05 00:28:16 CEST

> 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

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.