[PATCH RFC] readonly: experimental extension to mark repositories as read only

timeless timeless at gmail.com
Sun Mar 20 23:40:05 EDT 2016

Gregory Szorc wrote:
> +        ui.warn(_('refusing to %s\n') % op)

I /think/ I'd suggest % _(op).

Although we should probably figure out what this is supposed to look like.

In general we don't want to do: _('... %s' % foo), but, if op is a
limited set, then it might actually be better, so that localizers can
write complete strings instead of being bound to unfortunate gender

More information about the Mercurial-devel mailing list