diff mercurial/graphmod.py @ 32407:a7dce526c462

util: refactor util.parsedate to raises ValueError Split most of util.parsedate in util.rawparsedate and make it raises ValueError instead of error.Abort. The util.parsedate function is now just a shell function converting ValueError to error.Abort for existing users. I need to parse a date from config in a later patch and use util.rawparsedate with ui.configwith which expect a convert that raises ValueError.
author Boris Feld <boris.feld@octobus.net>
date Fri, 19 May 2017 12:07:23 +0200
parents 906da89821ce
children 27932a76a88d
line wrap: on
line diff