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

Re: 1.4.[23] for cygwin doesn't handle eol's properly

From: Nathan Kidd <nathan-svn_at_spicycrypto.ca>
Date: 2007-02-28 19:07:50 CET

Kylo Ginsberg wrote:
> On 2/27/07, Nathan Kidd <nathan-svn@spicycrypto.ca> wrote:
>> I don't think textmode implies anything. If you set DOS mode then
>> textmode will produce CRLF, if you set UNIX mode then textmode will give
>> you LF.
>
> I am not a cygwin expert, but this does not match the behavior on my
> cygwin installation. What I see is:
>
> Changing to DOS mode sets the default cygwin mounts to "textmode" and
> changing to UNIX mode sets the default cygwin mounts to "binmode".
> Independently, you can specify additional mounts in the mode of choice
> (textmode/binmode).

It seems I was entirely confused and wrong on this point, sorry. I just
checked and observe the same behaviour as you.

> So I edited APR_EOL_STR to "\r\n" and rebuilt. This gives me the
> desired behavior for the original issue (checkout of files with
> svn:eol-style set to native now checkout with CRLF line endings), but
> I still can't commit a file with a property set (i.e. I get the
> "Malformed file" error message).
>
> At this point, the best workaround I have for this mess is to use the
> windows-compiled subversion under cygwin, which appears to work for
> cygwin textmode mounts. It doesn't know about cygwin paths of course,
> but fortunately it parses forward slashes as back slashes so it works
> in most practical settings.
>
> Any other suggestions? Or successful experience with subversion in
> the cygwin environment?

I use cygwin's svn to export a working copy before tarring it up, but
that's it. All my experience with using cygwin svn on the same working
copies as the win32/tortoisesvn clients has been bad (i.e. borked
working copies).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 28 19:05:36 2007

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.