[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Strange diffs after rsync copying of working copy

From: Johan Holmberg <holmberg_at_iar.se>
Date: Fri, 03 Feb 2012 18:13:22 +0100

On 02/03/2012 05:54 PM, Philip Martin wrote:
> Johan Holmberg<holmberg_at_iar.se> writes:
>
>>> A similar problem here, the file in the repository should have \n line
>>> endings but the file has some \r\n line endings. Once again committing
>>> the file should fix the problem (although mixed line endings may cause
>>> the commit to fail and require you to make them consistent before
>>> committing).
>> But here my working copy files are already UNIX text files (no \r\n
>> line endings). And Subversion refuses to commit unchanges
>> files.
> Are you trying to commit when status shows nothing (that won't work) or
> when status shows the files as modified? I'd expect the latter to work.
>

So this should work:

   $ svn co http://someserver/somedir proj
   $ touch proj/*
   $ svn ci -m"fixed line ending problems" proj

.... and it actually worked.

I think I have solved my immediate problems now.

Thanks Philip and Stefan.

/Johan Holmberg
Received on 2012-02-03 18:13:59 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.