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

Re: Issue Tracker Integration

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 02 Feb 2008 17:27:27 +0100

Alexander Klenin wrote:

> Strange -- the patch sent by Roger did contain changes to TortoiseProcENG.rc

Yes, but only by accident: alex changed the resource files from ANSI to
UTF16 last week, but forgot to also add the svn:mime-type property to
tell Subversion that these files are no longer 'text'.

I've now added the mime-type property in rev 12008.

> I can also confirm that svn.exe built from TortoiseSVN trunk generates such a
> diff successfully. OTOH, the mails sent to commits list say that the
> file is binary.
> Maybe it depends on SVN version?

Not really. Subversion can't handle UTF16 files properly. The fact that
the diff included _something_ from the UTF16 files is a simple accident.

Took me a while to figure this out myself: I've spent the last hours
trying to 'fix' TortoiseMerge to correctly parse such patchfiles. I
already had the reading of such files finally working, when I discovered
that the line numbers indicated in the patchfile were completely wrong -
due to the fact that Subversion can't handle UTF16 files. So no way to
really do this properly.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-02-02 17:27:52 CET

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.