Date format problem with tailor svn->hg conversion

Bryan O'Sullivan bos at serpentine.com
Fri Sep 23 13:22:07 CDT 2005


On Fri, 2005-09-23 at 11:15 -0700, Jeremy Fitzhardinge wrote:

> I presume this used to work at some point.  Did hg used to understand
> dates in this format, or is there something else wrong?

No, hg used to not validate times or dates, and so it silently ate
whatever it was given.  Tailor generated invalid dates, which we
unfortunately accepted.

We now validate times and dates during commits, which is what you're
seeing.  For existing repos that contain bad times, we silently set the
timezone to zero if it's missing (as was the case with some tools) or
bogus (Tailor).

> hg tip is 1324:77cd8068dbf4, and I just fetched tailor so its whatever
> the current version is.

Are you sure you have a recent version of Tailor?  The current version
of Tailor allegedly has this problem fixed.

	<b



More information about the Mercurial mailing list