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

RE: (suspected) bug in subversion on WinNT... OUPS My mystake... last.

From: ASSART Rodrigues <rodrigues.assart.prestataire_at_sfrcegetelsi.fr>
Date: 2004-07-01 08:16:31 CEST


[answer to max]
in fact the checked-out foo.doc and the foo.doc.svn-base are obviously the
same with the same problem...
i was only shocked by the location name of the file which was
A MSWord file considered text, waouh!

[answer to Ben]
no, for my test, i just created a repository with all defaults, import a
foo.doc, check out that doc and hold my breath.

But anyway thanx for the answers !

i was just trying on my WinNT at the office to see the behaviour with Cygwin
and .doc or else files, but actually am using it on my beloved Debian
Gnu/Linux box at home :-)

I should use Cygwin more like Unix on my MS box but i have a strange feeling
about that.

Still i should have read more thoroughly the good ol' doc and not hold my
breath for stuff that obviously would have been managed :-)

Good work and again sorry for the disturbance ...

Rodrigue ASSARD.

-----Message d'origine-----
From: Max Bowsher [mailto:maxb@ukf.net]
Objet: Re: (suspected) bug in subversion on WinNT... OUPS My mystake...

Are you sure that foo.doc was converted, but foo.doc.svn-base was not?

I thought it might be the Cygwin text/binmode stuff, but I tested it, and
found that *both* files would be affected, so assumed that
it was not relevant to your problem, and didn't reply.


From: Ben Collins-Sussman [mailto:sussman@collab.net]

You must have the 'svn:eol-style' property set to 'native'. Subversion
*never* changes the contents of files unless you set that property, or
set the 'svn:keywords' property. In which case, "don't do that". You
shouldn't be asking Subversion to change newlines in a binary file.

Perhaps you set that value accidentally via [auto-props] or something?

ASSART Rodrigues wrote:
> Hi
> sorry to have disturbed you for this...
> in fact, it works fine if i select 'UNIX' for default text type in the
> Cygwin configuration window...
> (still i don't think foo.doc should be considered a text file...)
> Rodrigue ASSARD
> please reply to <rassard@free.fr>
>> -----Message d'origine-----
>> De: ASSART Rodrigues
>> Date: mardi 29 juin 2004 11:51
>> : 'users@subversion.tigris.org'
>> Cc: 'rassard@free.fr'
>> Objet: (suspected) bug in subversion on WinNT...
>> Hi,
>> here is the problem:
>> when i import foo.doc file into my repository, it is added in binary
>> format.
>> but when i check out foo.doc, every \n are converted into \r\n ...
>> i think that's a bug, since the file should be treated as binary.
>> Also, foo.doc appears as .svn/text-base/foo.doc.svn-base in the pristine
>> source.
>> the platform is WinNT 4.0 with cygwin.
>> subversion version is 1.0.5-1
Received on Fri Jul 2 19:33:47 2004

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.