How to import a diff from machine with different encoding
Ulf Zibis
Ulf.Zibis at CoSoCo.de
Fri Sep 19 21:34:34 UTC 2014
Hi,
Machine A:
- default encoding: windows-1250
- source file encoding: ISO-8859-1
- hg export -> MyDiff.patch
Result:
- ISO-8859-1 for the diff content
- windows-1250 for the file paths
Machine B:
- default encoding: UTF-8
- source file encoding: ISO-8859-1
Machine B does not understand the windows-1250 encoded file paths in MyDiff.patch
hg import --encoding windows-1250 MyDiff.patch
... seems to affect only tags, comments and branch-names, but not file paths according
http://www.selenic.com/mercurial/hg.1.html#environment-variables
What can I do to successfully import such patch or how encode the export on the windows-1250 machine
as UTF-8 ?
Thanks,
-Ulf
P.S.: Please CC: to Ulf Zibis <Ulf.Zibis at CoSoCo.de>, as I'm not subscribed to the list.
More information about the Mercurial
mailing list