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

Re: help creating a patch

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 21 Apr 2009 16:43:28 +0100

On Tue, Apr 21, 2009 at 07:01:14PM +0400, Andrey Repin wrote:
> Greetings, Craig!
>
> > I was trying to create a patch to send to someone the other day, and
> > ran into an interesting problem. I had "svn mv"ed a file, and changed
> > a few others, then used TortoiseSVN to create the patch. All of the
> > changes were included in the patch except the newly added file
> > resulting from the move. The end result is that the patch did not
> > represent all of the changes in the working copy, and hence was not
> > very useful. The same thing happened with "svn diff".
>
> > Any ideas?
>
> Unfortunately, nothing you can do about moved/renamed files with diff/patch
> approach.
> You need to supply exact instructions to follow your movement in this case.

Yes, it's not possible for added files to show up in a diff.
IMO it is a bug that needs to be fixed. They should show up
by default, and maybe there should be a switch so they don't
show up. But I don't really know why anyone would want them
not to show up.

There is a bunch of issues for this, too. One of them is
http://subversion.tigris.org/issues/show_bug.cgi?id=2543

Stefan
Received on 2009-04-21 17:45:00 CEST

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