You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tom Wieczorek <TW...@idgmbh.de> on 2004/07/05 21:03:54 UTC

All files with svn:eol-style=native marked as modified after init ial checkout

Hi all,

I converted a CVS repo via 'cvs2svn --set-eol-style'. Now I do a
checkout of some files with svn:eol-style set to native. The problem is,
that all text-files with that property are initially marked as modified,
and I don't know why. When I revert the changes, the modified flag is
gone, but apparently, the files are the same (same size, contents,
props). Binary files behave as they should.

I used the latest revision of cvs2svn (r1213), together with svn 1.05.

Any suggestions why that happens?

Thanks for your help
Tom

--------
C:\>md tmp

C:\>cd tmp

C:\tmp>svn co -N file:///h:/work/cvs2svn/repbdb/trunk .
A  Audicopy.bat
A  Audicopy_produktiv.bat
A  simascopy.bat
A  .cvsignore
Checked out revision 1045.

C:\tmp>svn st
M      Audicopy.bat
M      Audicopy_produktiv.bat
M      simascopy.bat
M      .cvsignore

C:\tmp>svn pg svn:eol-style Audicopy.bat
native

C:\tmp>dir
05.07.2004  22:44    <DIR>          .
05.07.2004  22:44    <DIR>          ..
07.05.2004  19:39                55 .cvsignore
11.06.2004  10:20             4.537 Audicopy.bat
19.12.2003  12:08             3.151 Audicopy_produktiv.bat
05.02.2004  18:27             1.304 simascopy.bat
               4 Datei(en)          9.047 Bytes

C:\tmp>svn revert *
Reverted '.cvsignore'
Reverted 'Audicopy.bat'
Reverted 'Audicopy_produktiv.bat'
Reverted 'simascopy.bat'

C:\tmp>svn pg svn:eol-style Audicopy.bat
native

C:\tmp>svn st

C:\tmp>dir
05.07.2004  22:45    <DIR>          .
05.07.2004  22:45    <DIR>          ..
07.05.2004  19:39                55 .cvsignore
11.06.2004  10:20             4.537 Audicopy.bat
19.12.2003  12:08             3.151 Audicopy_produktiv.bat
05.02.2004  18:27             1.304 simascopy.bat
               4 Datei(en)          9.047 Bytes

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: All files with svn:eol-style=native marked as modified after initial checkout

Posted by Max Bowsher <ma...@ukf.net>.
Tom Wieczorek wrote:
> Hi all,
> 
> I converted a CVS repo via 'cvs2svn --set-eol-style'. Now I do a
> checkout of some files with svn:eol-style set to native. The problem is,
> that all text-files with that property are initially marked as modified,
> and I don't know why. When I revert the changes, the modified flag is
> gone, but apparently, the files are the same (same size, contents,
> props). Binary files behave as they should.
> 
> I used the latest revision of cvs2svn (r1213), together with svn 1.05.
> 
> Any suggestions why that happens?
> 
> Thanks for your help
> Tom
> 
> --------
> C:\>md tmp

Bug in cvs2svn.

I've just filed it into our issue tracker.

Hey everyone! Any suggestions about the best way to fix a repository containing texts in CRLF form when they should be LF?

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org