[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-12-01 18:39:57 CET

Demian Turner wrote:
>>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.
>
> I do in fact have the svn:eol-style setup in my subversion config.

The fact that you have svn:eol-style set up in the auto-props section of
your subversion config will only apply that setting to files that *you*
add. You need to ensure that every text file in the repository has that
property. And if they haven't, you should disable commit emails before
applying that property. When we did it on the TSVN repo a while back we
got a 22MByte commit mail because almost every file changed :-(

>>>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.
>
> Sounds similar to what I stated above, however I don't know what 'WC' stands
> for. By repo i mean the checked out version of the file (that's in my local
> repo) that reflects trunk.

Similar, but if you need help sorting out a tricky problem you need to
be more precise in your description, otherwise we are just guessing what
you mean. The repository is the central data store that holds the
history of all revisions, and it normally resides on a server. You
cannot edit files directly in the repository. You need to use a
subversion client to checkout a working copy (WC). The WC normally
resides on your local hard drive and is where you edit files and commit
from.

The term 'local repo' would normally be taken to mean a repository
created on your local machine (eg. using TSVN's 'Create Repository Here'
command) which only you can access using file:// URLs. You still have to
checkout a working copy to edit the files.

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 Thu Dec 1 18:49:13 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.