#134: mtn -> hg failures with the pidgin repository
----------------------+-----------------------------------------------------
Reporter: sdague | Owner: lele
Type: defect | Status: new
Priority: major | Milestone: VersionOne
Component: tailor | Version: 0.9
Keywords: monotone |
----------------------+-----------------------------------------------------
The pidgin repository provides a *very large* mtn source to work with. I
attempted to convert from mtn -> hg with tailor 0.9.28. There is an issue
with the date parser that gets hit when people include the Date keyword in
their comments.
Line 324 of monotone.py needs to be modified to bail out of the loop if
the date format isn't what is expected.
elif pr("Date:"):
# monotone dates are expressed in ISO8601, always UTC
dateparts = pr.value.split('T')
if len(dateparts) < 2:
break
assert len(dateparts) >= 2, `dateparts`
Otherwise you'll get a number of fails in trying to convert the pidgin mtn
repo to anything else.
--
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/134>
Tailor <http://progetti.arstecnica.it/tailor>
An inter-VCs changeset exchanger_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor