[PATCH default] util: raise ParseError when parsing dates

Yuya Nishihara yuya at tcha.org
Fri May 26 10:42:40 EDT 2017


On Thu, 25 May 2017 20:21:11 +0200, Boris Feld wrote:
> # HG changeset patch
> # User Boris Feld <boris.feld at octobus.net>
> # Date 1495641017 -7200
> #      Wed May 24 17:50:17 2017 +0200
> # Node ID 34e55919835ad870ba9df463c07e500988fd114e
> # Parent  b647b923486f38d83b92089eafa9faafaa79785d
> # EXP-Topic parsedateparseerror
> util: raise ParseError when parsing dates

Marked as "(BC)" (= behavior change) and queued, thanks. I believe raising
ParseError makes more sense (though ParseError has an unfortunate overridden
meanings.)

I also updated the doc of parsedate().


More information about the Mercurial-devel mailing list