[Dev] lingering SVN binary vs. text problems
John Anderson
john at osafoundation.org
Fri Jun 3 15:24:19 PDT 2005
I've considered that, but it tends to be risky since not all the windows
tools can handle mixed end of lines and it causes problems for people
who don't know that they have to do this to avoid the mine field.
Anyway, how would you feel if you had to live with cf/lf while
developing on linux -- you'd hate it, just like those windows-centric
developers would hate having to live with lf instead of their familiar
cr/lf. Finally, svn is smart enough to automaticlly figure out binary
vs. text files when you add them, so this mixup was a temporary artifact
of how the repository was moved from cvs -- e.g. we lost the binary vs.
text info in cvs.
john
Brendan O'Connor wrote:
> One option is to do away with all text conversions -- the windows user
> turns off text conversion on their client, or tag all files as
> binary. I mean, all the good programmer's text editors on windows
> understand unix line endings, so perhaps automatic cr/lf conversions
> just aren't worth it anymore...
>
> just a thought, Brendan.
>
>
> On 6/3/05, *John Anderson* <john at osafoundation.org
> <mailto:john at osafoundation.org>> wrote:
>
> Hi Bear:
>
> I'm still having trouble doing a svn diff on the command line in
> cygwin.
> Looks like there are still some lingering problems:
>
> locale/*.po
> wxPython/distrib/msw/MSVCIRT.DLL
> wxPython/distrib/msw/MSVCP60.DLL
> wxPython/distrib/msw/MSVCRT.DLL
> wxPython/samples/embedded/embedded.o
> wxPython/samples/embedded/embedded
>
> are getting mucked by the end of line conversion since they're
> incorrectly listed as text files. One way you can make sure you've
> got
> all the files fixed is to do a fresh checkout on windows, making sure
> you're using native eols, do a svn diff in cygwin installed with cr/lf
> eols and make sure the diff is empty. Anyone who's done a svn
> checkout
> on windows should probably verify that an svn diff doesn't list files
> that you didn't change otherwise we may accidentally checkin a mucked
> binary file.
>
> John
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "Dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/dev
>
>
>------------------------------------------------------------------------
>
>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
>Open Source Applications Foundation "Dev" mailing list
>http://lists.osafoundation.org/mailman/listinfo/dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://localhost.localdomain/pipermail/dev/attachments/20050603/6c9ba517/attachment.html
More information about the Dev
mailing list