[PATCH RFC] scmutil: add a simple key-value file helper

Jun Wu quark at fb.com
Mon Dec 5 18:50:04 EST 2016


Excerpts from Augie Fackler's message of 2016-12-05 18:13:14 -0500:
> I'd rather see a new ProgrammingError or something in error.py, and have
> it inherit from RuntimeError for six months or so and then cut the cord on
> this silliness.

+1 on ProgrammingError. I was actually a bit surprised that it does not
exist already.

> (I know this opinion of mine is not widely held, but I'd also rather we
> /at least/ introduce new specific exceptions rather than just blindly
> reusing something this generic (note that if you catch RuntimeError,
> you're also transitively catching NotImplementedError, which is probably
> not what you had in mind...)


More information about the Mercurial-devel mailing list