subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugo González <>
Subject Bug patching Unicode files
Date Fri, 25 Nov 2016 11:36:27 GMT
Hello, and congratulations for your great job at the Subversion project. I
think it is an amazing tool.

I have found a bug when trying to apply a patch over a Unicode file. The
steps to reproduce this bug are:


1.       Create and version a Unicode file in your repository, for example:

2.       Modify that Unicode file.

3.       Create a patch with your modifications (svn diff > changes.diff)

4.       Revert the modifications of the file.

5.       Apply the patch to modify the file again (svn patch changes.diff)

6.       You get a corrupted file and the modifications are lost.


It seems the diff file is malformed, resulting in a corrupted patched file.
I attach the documents of my example.

I hope you can fix this, because I work with a lot of Unicode files, but I
understand this could be difficult because of command line limitations…

Any feedback or advice will be welcome. Thank you very much in advance,


Hugo González


Hugo González 
Tlf: +34 91 386 22 22
Fax: +34 91 386 45 80 

Ingeciber S.A. 
Avda. Monforte de Lemos, 189 - 28035 - Madrid - España
 <> |  <> 

Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si no es vd. el destinatario
indicado, queda notificado de que la utilización, divulgación y/o copia sin
autorización está prohibida en virtud de la legislación vigente. Si ha
recibido este mensaje por error, le rogamos que nos lo comunique
inmediatamente por esta misma vía y proceda a su destrucción.
This message is intended exclusively for its addressee and may contain
information that is CONFIDENTIAL and protected by professional privilege.If
you are not the intended recipient you are hereby notified that any
dissemination, copy or disclosure of this communication is strictly
prohibited by law. If this message has been received in error, please
immediately notify us via e-mail and delete it.



View raw message