[PATCH 1 of 2] fix spelling errors

Stephen Rasku mercurial at srasku.net
Wed Aug 15 18:08:18 UTC 2012


On Tue, Aug 14, 2012 at 11:12 PM, Dave S <snidely.too at gmail.com> wrote:
> Mads Kiilerich mads at kiilerich.com wrote on Tue Aug 14 19:22:51 CDT 2012
>
>>  def _splitURI(uri):
>> -    """ Return path and query splited from uri
>> +    """ Return path and query splitted from uri
>
> Is "splitted" a technical term?  "Split" is the normal English past tense.

You could use "that has been split" in this case.

>> diff --git a/mercurial/lock.py b/mercurial/lock.py
>> --- a/mercurial/lock.py
>> +++ b/mercurial/lock.py
>> @@ -122,8 +122,8 @@
>>      def release(self):
>>          """release the lock and execute callback function if any
>>
>> -        If the lock have been aquired multiple time, the actual release is
>> -        delayed to the last relase call."""
>> +        If the lock have been acquired multiple time, the actual release is
>
> Either we need "locks" or "has" to get noun/verb agreement.

I would use "lock has been acquired multiple times".  Note plural for "times".

Otherwise, I think the rest looks good.

...Stephen



More information about the Mercurial mailing list