[PATCH] blackbox: fix exception when logging commands with format characters

Augie Fackler raf at durin42.com
Fri Mar 1 10:48:40 CST 2013


On Mar 1, 2013, at 11:21 AM, Kevin Bullock <kbullock+mercurial at ringworld.org> wrote:

> On 28 Feb 2013, at 8:33 PM, Durham Goode wrote:
> 
>> # HG changeset patch
>> # User Durham Goode <durham at fb.com>
>> # Date 1362075146 28800
>> #      Thu Feb 28 10:12:26 2013 -0800
>> # Node ID 6980c9cc2eb4ee69a530c6c55b44955fb16c53e7
>> # Parent  0e272121ea4e33027061f8fb9700074ae8f6c63d
>> blackbox: fix exception when logging commands with format characters
>> 
>> When running commands like 'hg export -o mypatch-%N.patch', the blackbox
>> would throw an exception because it tried to format %N. This change
>> prevents it from trying to format the command string.
> 
> LGTM.
> 
> Bryan, should I be leaving patches from Durham, Sid, David, et al. for you to push, or should I go ahead crew obvious things like this?

I'd just crew 'em. Bryan can figure it out when he rebases before pushing.

> 
> pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
> Kevin R. Bullock
> 
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel



More information about the Mercurial-devel mailing list