Include image file in svn diff patch -


i creating svn diff patch, seems image files not getting included. patch contain similar lines each image file, shown below:

    index: crimgeoprofile/code/jquery/css/ui-lightness/images/animated-overlay.gif =================================================================== cannot display: file marked binary type. svn:mime-type = application/octet-stream index: crimgeoprofile/code/jquery/css/ui-lightness/images/animated-overlay.gif =================================================================== --- crimgeoprofile/code/jquery/css/ui-lightness/images/animated-overlay.gif (revision 1510040) +++ crimgeoprofile/code/jquery/css/ui-lightness/images/animated-overlay.gif (working copy) 

i using following command create patch:

svn diff > test.diff 

any suggestions on how can include image files appreciated.

svn not support include binary files in diffs. side note: git support binary files. resulting patch file looks this:

diff --git a/bin/windows/sdl_mixer.dll b/bin/windows/sdl_mixer.dll new file mode 100644 index 0000000000000000000000000000000000000000..f48ee2da696f92b66940b91b52aa53c2 git binary patch literal 160256 zcmd?s4szd9)i*kmoyyopcrybxf<%o9l`2ufl_&=tga|rt7>j7ev^cx7sg%wregu+e z26k8g$kpw}+ud|hzfwrkv_*(yas@umf~xnjw(<ug6wvlm;idl0wbxgj_bosd06*uq z-h1dbff(ywxyamwuve*z*is+=k13j2?mqyw94`dhi#z&%c=bjq{qc}d<;xr~#ovoc zru6jxl3m4jz(vznll6hbytg!qzcu-??5yw3`orw#^jrvk!k}ida7nljgrdunptthd 

so technically is possible, doesn't work svn. if desperately need patch file including binaries, consider checking out svn using git. it's easy: git svn clone http://path/to/svn. works similar svn://.... can create git diff, , apply diff target. target not need git repository. git apply my.patch


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -