Svn diff for binary (excel file)

I set up the svn repository for excel file,

So, I checked and created myworking directory. Then I changed the excel file and I wanted to see the svn diff changes

which says the file is marked with a binary event, although I changed

Subversion client configuration file and

[miscellany] enable-auto-props = yes 

and also I added this line

 *.xlsx = svn:mime-type=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 

When i use

 svn proplist --verbose /path to /myworkingdirectory/file.xlsx 

it lists the mime type and its value

I do not know what else to do to see the svn diff changes, as it can be seen in text format files

+6
svn binaryfiles
03 Oct '13 at 12:32
source share
3 answers

There are plugins for TortoiseSVN that allow you to distinguish between Office documents:

http://freemind.s57.xrea.com/xdocdiff/e/index.html

+1
04 Oct '13 at 1:38
source share

Xlsx is nothing more than a zip containing multiple XML files. SVN will not be able to distinguish them as text files, since they are binary.

0
03 Oct '13 at
source share

If you have Windows & Office Professional Plus 2013 or Office 365 ProPlus, I recommend using Spreadsheet Compare, as it also analyzes the built-in xls history.

Name this little xlsdiff.bat from SNV:

 set path2=%1 set mine=%2 set mine=%mine:"=% ECHO %mine% > tmp.txt dir %path2% /B /S >> tmp.txt "C:\Program Files (x86)\Microsoft Office\Office15\DCF\SPREADSHEETCOMPARE.EXE" tmp.txt 

Configure svn to call "xlsdiff.bat% base% mine"

0
Dec 17 '18 at 9:24
source share



All Articles