On 6/6/2014 9:33 AM, Richard Eckart de Castilho wrote:
> I usually use "diff -r folder-with-svn folder-from-zip". :)
I tried that, and of course windows command line didn't know about diff. 
I fired up my windows cygwin, which does know about diff, and this command
produced a ton of output.

It's due to the line endings being different when the svn checkout is done. 

But since this is in the linux culture, where every command has 100's of
options, I found some flags: 
this version works well:  -r = recursively, -q = just the file names that are
different, -Z ignore whitespace at end of line

diff -rqZ folder-with-svn folder-from-zip :-)

-Marshall
>
> -- Richard
>
> On 06.06.2014, at 15:29, Marshall Schor <[email protected]> wrote:
>
>> On 6/6/2014 5:09 AM, Peter Klügl wrote:
>>> tried to compare tag with release... doesn't really work in Eclispe.
>> Here's the method I use to do this compare with Eclipse - it mainly involves
>> using the Eclipse tool to convert line endings (because that makes most files
>> not compare if the checkout is on Windows but the build is on Linux).
>>
>> 0) make a dir, say t/uimafit-2.1.0, to hold the test artifacts
>> 1) check out the tag into a dir, e.g.t/uimafit-2.1.0/svntag
>> 2) unzip the source-release into t/uimafit-2.1.0/sources
>>
>> 3) make a new project in Eclipse (I use one called t (for test)
>> 4) add a new folder to this project, but use the advanced options, and make 
>> it
>> be the t/uimafit-2.0.1 folder in the file system
>>
>> 5) select the svntag folder in the Eclipse Package Explorer, and then use 
>> Menu
>> -> File -> Convert line delimiters to... and pick one.
>> 6) repeat with the sources folder.
>>
>> Now you can click the two folders and use Eclipse's compare with each other 
>> to
>> see how they compare.
>>
>> -Marshall
>

Reply via email to