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

Re: patch bug report WAS problems applying patches created by tortoiseSVN in linux

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-11-21 13:27:35 CET

Demian Turner wrote:
> Anyway I think I've found a workaround, further investigation
> revealed that the problem only occurs when the repository file has
> some windows EOLs in it, which happens a lot due to the amount of
> windows patches submitted.

That suggests that you haven't set up svn:eol-style = native. If you are
working in a mixed Windows/linux environment that is highly recommended.
That way Windows users always see CR-LF endings and linux users always
see LF endings. It avoids ending up with mixed line endings which can
cause lots of problems.

> Running dos2unix on the *repo* file before applying the the
> TortoiseSVN patch eliminates the problem. Needless to say an svn
> patch created in linux doesn't need this workaround.

I think you mean running dos2unix on your WC file which reflects HEAD in
the repo.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Nov 21 13:28:07 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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