Ticket #174 (new defect)

Opened 4 years ago

Last modified 4 years ago

darcs->any processing fails if darcs repo has MOTD

Reported by: adept Owned by: lele
Priority: major Milestone: VersionOne
Component: darcs Version: 0.9
Keywords: Cc:

Description

If darcs repository has MOTD (message-of-the-day, residing in _darcs/prefs/motd) configured, tailor will fail to pull changes from such repo. It seems like MOTD text confuses SAX parser, which expects the output from "darcs pull --dry-run --xml-output" to contain only XML elements and nothing else.

This is very ironic, since during any->darcs processing tailor will create MOTD file in the target darcs repo (putting the address of the source repo there).

I create a test suite scripts to recreate this bug, attaching it.

Attachments

test-darcs2darcs-motd.sh Download (373 bytes) - added by adept 4 years ago.

Change History

Changed 4 years ago by adept

comment:1 Changed 4 years ago by lele

Yup, ironic indeed! I filed a bug against darcs:  http://bugs.darcs.net/issue1270

Note: See TracTickets for help on using tickets.