Ticket #134 (closed defect: fixed)
mtn -> hg failures with the pidgin repository
| Reported by: | sdague | Owned by: | lele |
|---|---|---|---|
| Priority: | major | Milestone: | VersionOne |
| Component: | mtn | Version: | 0.9 |
| Keywords: | monotone | Cc: |
Description
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.

Replace "mtn log" with "mtn list certs" avoids these problems. http://www.henrynestler.com/tailor/patches-breakout/monotone-log-replaced-by-list-certs.patch
See also Ticket #97, and latest full patch: http://www.henrynestler.com/tailor/tailor-2007*.patch