Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: problem with creating patch

Re: problem with creating patch

From: alex wallis <alexwallis646_at_googlemail.com>
Date: Fri, 30 May 2008 01:21:52 +0100

> The proper command is svn diff. AFAIK You can use that in any dir level of
> your local Rockbox dir. I allways do it in the root, e.g. svn diff >
> patch.diff put every change you did in the whole tree in the file. svn
> diff rockbox/tools/sapi_voice.vbs > patch.diff will also work.

Hi.
Thanks for the info, however this is the really strange thing, if i use the
commands you listed above, all cygwin does is output empty files.
However if i update the file, and then move it to another place, rename it,
and then check out an unaltered copy from svn, and do a diff using the
command to make a diff of 2 files, it works. However then of course the
patch looks weird because it made the diff from a file that isn't in svn.
Does anyone have any ideas, why what i've been putting in and what thomas
has suggested using the command to diff from svn doesn't work, and yet if I
diff between 2 files, it works?
this is the command I was able to make work,
diff -u sapi_voice.vbs voice.vbs
the file names are obviously in one case the orriginal svn copy of
sapi_voice.vbs, and the copy I had to rename so they could both be in the
same folder with the renamed file containing my changes.
Thanks for your help.
Alex.
Received on 2008-05-30


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa