[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-21 18:25:46 CEST

McCabe wrote:
> 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?

Subversion can't do this, because it doesn't 'understand' utf16 (what
you call unicode). It treats those a binary. And binary files don't have
lines, so blaming isn't possible.

But as I already mentioned in a previous mail:
remove the svn:mime-type property from the file (make sure it is in utf8
format or ANSI, *not* utf16 when you do that).
After that, you can blame the file - but of course only up to the
revision you removed the svn:mime-type.

Stefan

-- 
        ___
   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 Mon May 21 18:26:17 2007

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