D4262: zsh_completion: drop -w, add -S to _arguments
av6 (Anton Shestakov)
phabricator at mercurial-scm.org
Sat Aug 11 00:15:49 EDT 2018
av6 added a comment.
Thanks, `‘` and `’` for making it difficult to phabsend this. I had to
diff --git a/contrib/phabricator.py b/contrib/phabricator.py
--- a/contrib/phabricator.py
+++ b/contrib/phabricator.py
@@ -117,6 +117,8 @@ def urlencodenested(params):
def process(prefix, obj):
items = {list: enumerate, dict: lambda x: x.items()}.get(type(obj))
if items is None:
+ if isinstance(obj, unicode):
+ obj = obj.encode('utf-8')
flatparams[prefix] = obj
else:
for k, v in items(obj):
But having word diff for this series makes up for the frustration, I think.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4262
To: av6, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list