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

help creating a patch

From: Craig <supkichen_at_gmail.com>
Date: Tue, 21 Apr 2009 15:30:52 +1000

Hi all,

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?

The recipe below shows the issue:

> svnadmin create testrepo
> svn co file:///path/to/testrepo/ testwc
> cd testwc/

#add and commit f1
> echo "some f1 text" > f1.txt
> svn add f1.txt
> svn ci -m ''

#move f1
> svn mv f1.txt f1.txt.new

#add f2
> echo "some f2 text" > f2.txt
> svn add f2.txt

#status is correct
> svn st

#diff shows shows deletion of f1.txt, addition of f2.txt, but there is
no mention at all of f1.txt.new
> svn diff

regards,
Craig

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1837535

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-21 07:33:45 CEST

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