You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Tilman Hausherr <TH...@t-online.de> on 2014/03/12 00:23:49 UTC

Re: svn commit: r1576536 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestImageIOUtils.java

This is weird. In the last commit, I changed one line only, and there is 
this huge diff below.

Tilman



Am 11.03.2014 23:46, schrieb tilman@apache.org:
> Author: tilman
> Date: Tue Mar 11 22:46:38 2014
> New Revision: 1576536
>
> URL: http://svn.apache.org/r1576536
> Log:
> PDFBOX-1975: enable the test for PNG files
>
> Modified:
>      pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestImageIOUtils.java
>
> Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestImageIOUtils.java
> URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestImageIOUtils.java?rev=1576536&r1=1576535&r2=1576536&view=diff
> ==============================================================================
> --- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestImageIOUtils.java (original)
> +++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestImageIOUtils.java Tue Mar 11 22:46:38 2014
> @@ -1,230 +1,231 @@
> -/*
> - * Licensed to the Apache Software Foundation (ASF) under one or more
> - * contributor license agreements.  See the NOTICE file distributed with
> - * this work for additional information regarding copyright ownership.
> - * The ASF licenses this file to You under the Apache License, Version 2.0
> - * (the "License"); you may not use this file except in compliance with
> - * the License.  You may obtain a copy of the License at
> - *
> - *      http://www.apache.org/licenses/LICENSE-2.0
> - *
> - * Unless required by applicable law or agreed to in writing, software
> - * distributed under the License is distributed on an "AS IS" BASIS,
> - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> - * See the License for the specific language governing permissions and
> - * limitations under the License.
> - */


(...)

Re: svn commit: r1576536 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestImageIOUtils.java

Posted by Tilman Hausherr <TH...@t-online.de>.
Ok, thanks.
My svn is configured according to the requested EOL style, I suspect it 
may have happened when I edited outside of the IDE.
Tilman

Am 12.03.2014 03:46, schrieb John Hewson:
>> This is weird. In the last commit, I changed one line only, and there is this huge diff below.
>
> This is caused by the line endings changing, in 1576531 the Unix line endings are replaced with Windows line endings:
>
> http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestImageIOUtils.java?r1=1576489&r2=1576531
>
> Then in 1576536 , they are changed back to Unix line endings again:
>
> http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestImageIOUtils.java?r1=1576531&r2=1576536&pathrev=1576536&view=patch
>
> Your svn client needs to be configured using the EOL style from http://www.apache.org/dev/version-control.html#https-svn-config If you’ve already done this then your IDE might have its own SVN configuration hiding somewhere.
>
> Cheers
>
> -- John


Re: svn commit: r1576536 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestImageIOUtils.java

Posted by John Hewson <jo...@jahewson.com>.
> This is weird. In the last commit, I changed one line only, and there is this huge diff below.


This is caused by the line endings changing, in 1576531 the Unix line endings are replaced with Windows line endings:

http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestImageIOUtils.java?r1=1576489&r2=1576531

Then in 1576536 , they are changed back to Unix line endings again:

http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestImageIOUtils.java?r1=1576531&r2=1576536&pathrev=1576536&view=patch

Your svn client needs to be configured using the EOL style from http://www.apache.org/dev/version-control.html#https-svn-config If you’ve already done this then your IDE might have its own SVN configuration hiding somewhere.

Cheers

-- John