[gdal-dev] GDAL 2.0.0 source-file newline consistency

Even Rouault even.rouault at spatialys.com
Sat Jul 4 04:52:38 PDT 2015


Craig,

I've converted files with mixed end-of-line characters to the majority one.

My old svn client didn't protest when doing "svn add --force gdal-2.0.0" on 
those files with mixed e-o-l.

Even

> <html>
>   <head>
> 
>     <meta http-equiv="content-type" content="text/html; charset=utf-8">
>   </head>
>   <body text="#000000" bgcolor="#FFFFFF">
>     In trying to check GDAL 2.0.0 into a local Subversion repository, I
>     get various errors about inconsistent newline styles.  For
> instance:<br> <br>
>     svn add --force gdal-2.0.0<br>
>     svn: E200009: File
>     '/home/sourcetree/cw/src_3p/gdal-2.0.0/port/cpl_time.h' has
>     inconsistent newlines<br>
>     svn: E135000: Inconsistent line ending style<br>
>     svn: E135000: Additional errors:<br>
>     <br>
>     Viewing the file shows that it uses Windows CRLF (shown as an extra
>     ^M below) except on the single "Copyright" line:<br>
>     <tt><br>
>     </tt><tt> *^M</tt><tt><br>
>    
> </tt><tt> ****************************************************************
> ******^M</tt><tt><br> </tt><tt> * Copyright (c) 2009, Even Rouault <even
> dot rouault at mines-paris dot org></tt><tt><br>
>     </tt><tt> *^M</tt><tt><br>
>     </tt><tt> * Permission is hereby granted, free of charge, to any
>       person obtaining a^M</tt><br>
>     <br>
>     It'd be helpful if the GDAL source files could at least be
>     self-consistent w.r.t. newline conventions.<br>
>     <br>
>     <div class="moz-signature">-- <br>
>       Dr. Craig S. Bruce
>       <br>
>       Senior Software Developer
>       <br>
>       CubeWerx<i> </i>Inc.
>       <br>
>       <a href="http://www.cubewerx.com/">http://www.cubewerx.com</a></div>
>   </body>
> </html>

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list