Hi All I have a patch in which the patch name contains a funny sequence of characters, originally meant to be a 'ΓΌ'. Anyway, the problem is that the xml output generated by
aragon: .../tailor/tailor_d1 > darcs changes --match "hash 20070103153232-9eca9-1ec18e9bedba70096e3bd3385e8b878ad0a409d1.gz" --xml-output lists the patch name as <name>Versions 42 (Modulator) and 10 (Gun) as sent by K.B\fcrkmann to Jakob Rytter on 06-06-06</name> where the '\fc' part is displayed in red on my terminal, and in my editor looks like '<esc>[01;31m\fc<esc>[00', where <esc> is the ASCII escape character (0x1b). This happens with both darcs-1.09 and darcs-2.00. I think this is a bug in darcs. XML output should not contain escape sequences to colorize output, regardless of configuration settings. The obvious work-around is to export DARCS_DONT_COLOR=1 however, this should not be necessary IMHO. BTW, this appeared when trying to use tailor to convert from darcs1 to darcs2 format. Tailor failed with the following message: 15:56:40 [C] Upstream change application failed: <unknown>:3:58: not well-formed (invalid token) 15:56:40 [C] Something unexpected! Traceback (most recent call last): File "/opt/csr/lib/python2.4/site-packages/vcpx/tailor.py", line 156, in __call__ self.update() File "/opt/csr/lib/python2.4/site-packages/vcpx/tailor.py", line 119, in update last, conflicts = dwd.applyPendingChangesets( File "/opt/csr/lib/python2.4/site-packages/vcpx/dualwd.py", line 102, in applyPendingChangesets applied=applied) File "/opt/csr/lib/python2.4/site-packages/vcpx/source.py", line 113, in applyPendingChangesets res = self._applyChangeset(c) File "/opt/csr/lib/python2.4/site-packages/vcpx/repository/darcs/source.py", line 561, in _applyChangeset entries = last.next().entries File "/opt/csr/lib/python2.4/site-packages/vcpx/repository/darcs/source.py", line 214, in changesets_from_darcschanges for cs in csets: File "/opt/csr/lib/python2.4/site-packages/vcpx/repository/darcs/source.py", line 335, in changesets_from_darcschanges_unsafe parser.feed(chunk) File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 220, in feed self._err_handler.fatalError(exc) File "/usr/lib/python2.4/site-packages/_xmlplus/sax/handler.py", line 38, in fatalError raise exception SAXParseException: <unknown>:3:58: not well-formed (invalid token) I looked at the tailor log file and manually repeated the last darcs command listed. Cheers Ben _______________________________________________ darcs-users mailing list darcs-users@darcs.net http://lists.osuosl.org/mailman/listinfo/darcs-users