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

Re: Blame on files that switched between asciii and unicode

From: McCabe <Linus_at_mccabe.nu>
Date: 2007-05-21 07:48:24 CEST

Hi!

I realize the problem you mention about all rows beeing affected, but
shouldnt it be possible to retrieve all versions from repository, convert
them all to UTF-8, then make blame locally?

(Not sure how blame is done usually.. perhaps this would be very
time/resource intensive, but Id rather wait a little longer and get a blame,
then get no blame at all..)

/Linus

Stefan Küng wrote:
>
>
> Once a files is in unicode (utf-16) format, Subversion will treat the
> file as binary, not text. Those files then have a mime-type of
> 'application/octet-stream'. As long as that's the case, Subversion won't
> blame the file.
> You have to manually change the mime-type of the file (i.e., edit the
> svn:mime-type property) and change it to e.g., 'text/txt' or remove the
> property).
> Then you'll be able to blame the file again, but you should know that
> during a conversion, each line in the file is touched so you won't get
> really a useful blame out of it anyway.
>
> Stefan
>
>

-- 
View this message in context: http://www.nabble.com/Blame-on-files-that-switched-between-asciii-and-unicode-tf3735768.html#a10713474
Sent from the tortoisesvn - dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon May 21 07:48:30 2007

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.