Patchwork chg: fix typo

login
register
mail settings
Submitter Manuel Jacob
Date June 23, 2020, 2:55 a.m.
Message ID <bbb86dc9d00ea19611c7.1592880957@tmp>
Download mbox | patch
Permalink /patch/46547/
State Accepted
Headers show

Comments

Manuel Jacob - June 23, 2020, 2:55 a.m.
# HG changeset patch
# User Manuel Jacob <me@manueljacob.de>
# Date 1592880927 -7200
#      Tue Jun 23 04:55:27 2020 +0200
# Branch stable
# Node ID bbb86dc9d00ea19611c71915ef4cd5b1e6ae0884
# Parent  1a4b9b602e54788ead2ad15b843ed7f3b90b706a
# EXP-Topic locale
chg: fix typo
Yuya Nishihara - June 23, 2020, 12:06 p.m.
On Tue, 23 Jun 2020 04:55:57 +0200, Manuel Jacob wrote:
> # HG changeset patch
> # User Manuel Jacob <me@manueljacob.de>
> # Date 1592880927 -7200
> #      Tue Jun 23 04:55:27 2020 +0200
> # Branch stable
> # Node ID bbb86dc9d00ea19611c71915ef4cd5b1e6ae0884
> # Parent  1a4b9b602e54788ead2ad15b843ed7f3b90b706a
> # EXP-Topic locale
> chg: fix typo

Queued, thanks.
Manuel Jacob - June 23, 2020, 12:32 p.m.
On 2020-06-23 14:06, Yuya Nishihara wrote:
> On Tue, 23 Jun 2020 04:55:57 +0200, Manuel Jacob wrote:
>> # HG changeset patch
>> # User Manuel Jacob <me@manueljacob.de>
>> # Date 1592880927 -7200
>> #      Tue Jun 23 04:55:27 2020 +0200
>> # Branch stable
>> # Node ID bbb86dc9d00ea19611c71915ef4cd5b1e6ae0884
>> # Parent  1a4b9b602e54788ead2ad15b843ed7f3b90b706a
>> # EXP-Topic locale
>> chg: fix typo
> 
> Queued, thanks.

Sorry, I forgot the stable flag. I should enable the template 
automatically adding it.
Yuya Nishihara - June 23, 2020, 12:50 p.m.
On Tue, 23 Jun 2020 14:32:50 +0200, Manuel Jacob wrote:
> On 2020-06-23 14:06, Yuya Nishihara wrote:
> > On Tue, 23 Jun 2020 04:55:57 +0200, Manuel Jacob wrote:
> >> # HG changeset patch
> >> # User Manuel Jacob <me@manueljacob.de>
> >> # Date 1592880927 -7200
> >> #      Tue Jun 23 04:55:27 2020 +0200
> >> # Branch stable
> >> # Node ID bbb86dc9d00ea19611c71915ef4cd5b1e6ae0884
> >> # Parent  1a4b9b602e54788ead2ad15b843ed7f3b90b706a
> >> # EXP-Topic locale
> >> chg: fix typo
> > 
> > Queued, thanks.
> 
> Sorry, I forgot the stable flag.

Oops, but I think it's okay for default.

>I should enable the template automatically adding it.

Try this:

[patchbomb]
flagtemplate = "{separate(' ',
                          ifeq(branch, 'default', '', branch|upper),
                          flags)}"

Patch

diff --git a/contrib/chg/chg.c b/contrib/chg/chg.c
--- a/contrib/chg/chg.c
+++ b/contrib/chg/chg.c
@@ -232,7 +232,7 @@ 
 			abortmsgerrno("failed to putenv CHG_CLEAR_LC_CTYPE");
 	} else {
 		if (setenv("CHGORIG_LC_CTYPE", lc_ctype_env, 1) != 0) {
-			abortmsgerrno("failed to setenv CHGORIG_LC_CTYYPE");
+			abortmsgerrno("failed to setenv CHGORIG_LC_CTYPE");
 		}
 	}