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

Re: [Issue 2543] Inconsistent svn diff after rename

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2006-05-09 23:38:15 CEST

On 5/9/06, Andreas Hasenack <ahasenack@terra.com.br> wrote:

> I think we are not understanding each other. What I would like to have
> is that svn diff right after svn mv should show exactly what it shows
> after the commit is made. Currently it shows something different.

This debate has been going on for years.

If I 'svn copy' (or 'svn mv', since mv == 'cp; rm' right now) a file,
then 'svn diff' shows nothing at all. If I then make tweaks to the
copied file, 'svn diff' shows me just the tweaks.

The status quo is convenient for the common use-case of "show me what
I've changed"... for developers who want to inspect their edits as
they work. The case you propose is convenient for the use-case of
"show me exactly what's going into the repository". The debate has
raged for years about which behavior should be the 'default', and
which should be toggled by a switch.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 9 23:38:46 2006

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