monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Re: Is the windows port active?


From: Lapo Luchini
Subject: [Monotone-devel] Re: Is the windows port active?
Date: Sun, 27 Jan 2008 11:03:38 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.0

For the records, using Cygwin I can add/remove accented filenames correctly, and "mtn status" reports them correctly, while the message of "add/remove" does not; "mtn ls unknown" fails completely though.

% export LANG=en_US.CP1252
% touch zzzà.txt
% mtn add zzzà.txt
mtn: adding zzzà .txt to workspace manifest
% mtn st
Current branch: [...]
Changes against parent [...]
  added    zzzà.txt
% mtn rm zzzà.txt
mtn: dropping zzzà .txt from workspace manifest
% mtn ls unknown
mtn: fatal: std::logic_error: /home/lapo/packaging/monotone-0.38-1/src/monotone-0.38/paths.cc:411: invariant 'I(utf8_validate(utf8(data)) && !has_bad_component_chars(data) && data != "." && data != "..")' violated
mtn: this is almost certainly a bug in monotone.
mtn: please send this error message, the output of 'mtn version --full',
mtn: and a description of what you were doing to address@hidden
mtn: wrote debugging log to /home/lapo/_MTN/debug
mtn: if reporting a bug, please include this file

...the Unicode conversion really lacks in some areas of MTN.

Things could be improved on Windows by using wide char versions of calls and converting the result from UTF-16 to UTF-8 for monotones internal use. But that would mean dropping pre-NT Windows compatibility.

And how many people does still use Win9x family?
(FWIW Cygwin is about to drop Win95 support in next major release)

    Lapo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]