Translating debug output?

Stuart W. Marks smarks at smarks.org
Fri Sep 18 19:29:29 CDT 2009


Dirkjan Ochtman wrote:
> On Fri, Sep 18, 2009 at 16:01, timeless <timeless at gmail.com> wrote:
>> durin42 at gmail.com writes:
>>> +            self.ui.debug('push empty bundle to check for auth\n')
>> this should either be "authorization" or ... to ensure/verify
>> credentials are valid/will be accepted
> 
> You mean authentication, surely.

This is one of the problems with using 'auth'; it's ambiguous whether it means 
authentication or authorization. I also think that 'auth' is sometimes used by 
writers when they're not sure which word to use.

In this case it sounds like the code is testing to see whether a push will be 
accepted. It could be that the user is known (authenticated) but is not allowed 
to do a push (not authorized). So this sounds like a test of authorization to me.

In any case I think it makes sense to leave debug messages untranslated.

s'marks


More information about the Mercurial-devel mailing list