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

Re: Problem with utf-8 files and applying patches

From: Coder <eternalhubris_at_googlemail.com>
Date: Sun, 27 Apr 2008 13:56:54 -0700 (PDT)

Just tried with 1.5.0-RC1 and had the exact same problem. It means
that patches can't be applied if you are patching the first few lines
of an utf-8 file. Since most .NET source code files are utf-8 by
default, then this should be affecting a lot of people, so I'm
surprised noone else has mentioned it. It would be good if someone
could confirm they also see the same problem to rule out it just being
a localised problem with my configuration.

On Apr 27, 7:06 pm, Stefan Küng <tortoise..._at_gmail.com> wrote:
> Coder wrote:
> > I've been having problems with using TortoiseSVN to apply patches on
> > utf-8 files.
> > Visual Studio by default uses utf-8 encoding for C# files. If I make a
> > change to a C# file and use Tortoise to create a patch, then revert my
> > change and then apply the same patch, TortoiseMerge complains that the
> > patch is outdated. I have played around a lot with this and only get
> > problems if the byte-order marker for the utf-8 file is part of the
> > patch. If the patch only changes code further down the file, away from
> > the byte-order marker then everything is fine.
>
> > Is this a bug in Tortoise, or am I doing something wrong?
>
> > I'm running TortoiseSVN 1.4.8 on Vista. Any thoughts on this would be
> > appreciated.
>
> Please try the 1.5.0-RC1 release. If you still have problem with that,
> then report back as soon as possible.
>
> Stefan
>
> --
>         ___
>    oo  // \\      "De Chelonian Mobile"
>   (_,\/ \_/ \     TortoiseSVN
>     \ \_/_\_/>    The coolest Interface to (Sub)Version Control
>     /_/   \_\    http://tortoisesvn.net
>
>  signature.asc
> 1KDownload

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-04-28 07:07:09 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.