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
> On Dec 5, 2016, at 17:42, Augie Fackler wrote:
>
>> On Dec 5, 2016, at 18:41, Kevin Bullock
>> wrote:
>>
>>> On Dec 5, 2016, at 16:51, Jun Wu wrote:
>>>
>>> Excerpts from Augie Fackler's message of 2016-12-05 17:07:47
> On Dec 5, 2016, at 18:41, Kevin Bullock
> wrote:
>
>> On Dec 5, 2016, at 16:51, Jun Wu wrote:
>>
>> Excerpts from Augie Fackler's message of 2016-12-05 17:07:47 -0500:
>>>
On Dec 5, 2016, at 16:54, Jun Wu wrote:
> On Dec 5, 2016, at 16:51, Jun Wu wrote:
>
> Excerpts from Augie Fackler's message of 2016-12-05 17:07:47 -0500:
>>
>>> On Dec 5, 2016, at 16:54, Jun Wu wrote:
>>>
+e = _("Invalid value in a simple key-value file")
+raise
> On Dec 5, 2016, at 17:51, Jun Wu wrote:
>
> Excerpts from Augie Fackler's message of 2016-12-05 17:07:47 -0500:
>>
>>> On Dec 5, 2016, at 16:54, Jun Wu wrote:
>>>
+e = _("Invalid value in a simple key-value file")
+raise
Excerpts from Augie Fackler's message of 2016-12-05 17:07:47 -0500:
>
> > On Dec 5, 2016, at 16:54, Jun Wu wrote:
> >
> >> +e = _("Invalid value in a simple key-value file")
> >> +raise self.InvalidValueInFileException(e)
> >
> > These sound like a
On 12/5/16 9:54 PM, Jun Wu wrote:
> Excerpts from Kostia Balytskyi's message of 2016-12-03 15:37:55 -0800:
>> # HG changeset patch
>> # User Kostia Balytskyi
>> # Date 1480808065 28800
>> # Sat Dec 03 15:34:25 2016 -0800
>> # Node ID c4312906ef7d06dc3be1575ee5cde574b915c9c4
> On Dec 5, 2016, at 16:54, Jun Wu wrote:
>
>> +e = _("Invalid value in a simple key-value file")
>> +raise self.InvalidValueInFileException(e)
>
> These sound like a programmer error. Maybe just raise RuntimeError.
I'm not comfortable with that,
Excerpts from Kostia Balytskyi's message of 2016-12-03 15:37:55 -0800:
> # HG changeset patch
> # User Kostia Balytskyi
> # Date 1480808065 28800
> # Sat Dec 03 15:34:25 2016 -0800
> # Node ID c4312906ef7d06dc3be1575ee5cde574b915c9c4
> # Parent
> On Dec 3, 2016, at 18:37, Kostia Balytskyi wrote:
>
> # HG changeset patch
> # User Kostia Balytskyi
> # Date 1480808065 28800
> # Sat Dec 03 15:34:25 2016 -0800
> # Node ID c4312906ef7d06dc3be1575ee5cde574b915c9c4
> # Parent
# HG changeset patch
# User Kostia Balytskyi
# Date 1480808065 28800
# Sat Dec 03 15:34:25 2016 -0800
# Node ID c4312906ef7d06dc3be1575ee5cde574b915c9c4
# Parent 715232cf9182f904d5153862a1ec4905faaeee6e
scmutil: add a simple key-value file helper
The purpose of the added
11 matches
Mail list logo