4 Jun 2005 04:00
Re: Using win32 and unix questions
John A Meinel <john <at> arbash-meinel.com>
2005-06-04 02:00:00 GMT
2005-06-04 02:00:00 GMT
Matthew Dempsky wrote: >On Wed, 2005-05-18 at 08:21 +0200, Ingo Buescher wrote: > > >>John A Meinel wrote: >> >> >> >>>In general, tla never changes your line endings for you. So if you check >>>in a file with DOS (CRLF) endings, you get them back that way on all >>>platforms. >>> >>> >>> >>I'm not so sure that this is true - we had to explicitly change our line >>encodings to unix style, because tla kept changing our src code to it >>while checking it out (tla get). We recognized this, because when we >>tried to check in a patch afterwards, the generated patches were huge >>since every line was changed. We also checked the settings of our IDEs >>(Eclipse and IntelliJ) - they were set to the windows encodings, so they >>could'nt/shouldn't be responsible. >> >> > >The only time tla ever touches your files directly is when it searches >for inline tags (and that's read-only). You've only got diff, patch, >and your fake Unix environment to blame for mysteriously changing end >lines. (There was a patch for tla to work around this by passing the >--binary option to diff and patch, but it seems it hasn't been included(Continue reading)
RSS Feed