[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-05-15 17:54:53 CEST

Linus McCabe wrote:
> Hello!
> I have a few files thats been changed back and forth (bloody users ;)
> between ascii and unicode (of different types).
> This makes it impossible to do blames on this file with:

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
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.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue May 15 17:55:09 2007

This is an archived mail posted to the TortoiseSVN Dev mailing list.