Hi all.
I've added two files into a svn repository:
files/ is a directory, the other is just a regular file. The problem is when I generate a patch file with
This is the actual patch file: http://codepad.org/HBxvampr
Thanks.
I've added two files into a svn repository:
Code:
[CMD]% svn status[/CMD]
A files
A files/patch-src__lib__3rdparty__processinfo.h
files/ is a directory, the other is just a regular file. The problem is when I generate a patch file with
svn diff
, the generated patch does not contain the files/ directory and it simply ignores this newly added directory. When I try to apply the patch on another working copy, I get the following error:
Code:
[CMD]% patch < /root/qupwork/qupzilla.diff [/CMD]
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: files/patch-src__lib__3rdparty__processinfo.h
|===================================================================
|--- files/patch-src__lib__3rdparty__processinfo.h (revision 0)
|+++ files/patch-src__lib__3rdparty__processinfo.h (working copy)
--------------------------
(Creating file patch-src__lib__3rdparty__processinfo.h...)
Patching file patch-src__lib__3rdparty__processinfo.h using Plan A...
Hunk #1 succeeded at 1.
Hmm... Ignoring the trailing garbage.
done
[CMD]% ls[/CMD]
Makefile patch-src__lib__3rdparty__processinfo.h pkg-descr
distinfo patch-src__lib__3rdparty__processinfo.h.orig pkg-plist
This is the actual patch file: http://codepad.org/HBxvampr
Thanks.