sapling/hgext
Pulkit Goyal 8cf2ab1237 py3: fix keyword arguments handling in mq
This patch fixes the handling of keyword arguments to functions on Python 3. On
python3, the keys of keyword arguments need to str which is unicode. So any
keyword argument will get will have str keys and any dictionary we pass as
kwargs must have all the keys as str.

This patch uses pycompat.(strkwargs|byteskwargs) to do so conversion between
bytes keys and str keys and use r'' if there are very less uses and conversion
can be prevented.

Differential Revision: https://phab.mercurial-scm.org/D972
2017-10-02 04:46:17 +05:30
..
convert convert: fix the RevisionSpec import in the bzr module 2017-10-05 00:48:44 +00:00
fsmonitor fsmonitor: use configitem 2017-10-01 22:26:24 +01:00
highlight highlight: put pygments import inside demandimport.deactivated 2017-06-18 23:05:54 -04:00
largefiles dirstate: use keyword arguments to clarify status()'s callers 2017-09-29 14:49:05 -07:00
zeroconf zeroconf: do not crash if socket being read is closed by another thread 2017-10-02 20:23:25 -07:00
__init__.py hgext: officially turn 'hgext' into a namespace package 2016-02-27 12:56:26 +01:00
acl.py configitem: create a new list of each 'acl.sources' access 2017-07-02 23:10:33 +02:00
amend.py amend: new extension providing the amend command 2017-07-11 20:53:55 -07:00
automv.py configitems: register the 'automv.similarity' config 2017-06-30 03:27:24 +02:00
blackbox.py blackbox: move _openlogfile to a separate method 2017-09-21 11:10:20 -07:00
bugzilla.py bugzilla: remove superfluous pass statements 2017-09-29 11:55:26 -04:00
censor.py revlog: rename constants (API) 2017-05-17 19:52:18 -07:00
children.py commands: move templates of common command options to cmdutil (API) 2017-05-14 16:19:47 +09:00
churn.py churn: use the non-deprecated template option in the examples 2017-05-08 23:05:01 -04:00
clonebundles.py clonebundles: fix missing newline character 2017-05-24 22:59:59 -04:00
commitextras.py commitextras: make sure keys are not empty 2017-07-30 12:19:46 +05:30
eol.py configitems: register the 'eol.only-consistent' config 2017-06-30 03:39:32 +02:00
extdiff.py cmdutil: rename template param to export to fntemplate 2017-05-20 20:15:05 -04:00
factotum.py configitems: register the 'factotum.service' config 2017-06-30 03:42:15 +02:00
fetch.py fetch: remove shorthand of --edit colliding against -e/-ssh in remoteopts (BC) 2017-06-24 02:39:13 +09:00
gpg.py configitems: register the 'gpg.key' config 2017-06-30 03:42:34 +02:00
graphlog.py commands: move templates of common command options to cmdutil (API) 2017-05-14 16:19:47 +09:00
hgk.py configitems: register the 'hgk.path' config 2017-06-30 03:42:35 +02:00
histedit.py histedit: removing the experimental config 'histeditng' 2017-10-05 21:56:25 +00:00
journal.py codemod: register core configitems using a script 2017-07-14 14:22:40 -07:00
keyword.py configitems: register the 'keywordset.svn' config 2017-06-30 03:42:50 +02:00
logtoprocess.py logtoprocess: use lowercase for docstring title 2017-03-23 21:16:55 -07:00
mq.py py3: fix keyword arguments handling in mq 2017-10-02 04:46:17 +05:30
notify.py configitems: register the 'notify.test' config 2017-06-30 03:43:31 +02:00
pager.py configitems: register the 'pager.attend' config 2017-06-30 03:43:33 +02:00
patchbomb.py repovfs: add a ward to check if locks are properly taken 2017-07-11 12:38:17 +02:00
purge.py commands: move templates of common command options to cmdutil (API) 2017-05-14 16:19:47 +09:00
rebase.py configitems: register the 'experimental.rebaseskipobsolete' config 2017-06-30 03:42:06 +02:00
record.py commands: move templates of common command options to cmdutil (API) 2017-05-14 16:19:47 +09:00
releasenotes.py releasenotes: display release notes when no filename is specified 2017-10-01 14:37:50 +01:00
relink.py extensions: change magic "shipped with hg" string 2016-08-23 11:26:08 -04:00
schemes.py schemes: use br'' literal to define bytes regexp 2017-03-09 19:41:40 -08:00
share.py configitems: register the 'share.poolnaming' config 2017-06-30 03:44:18 +02:00
shelve.py configitems: register the 'shelve.maxbackups' config 2017-06-30 03:44:19 +02:00
show.py show: use consistent (and possibly shorter) node lengths 2017-09-13 21:15:46 -07:00
sparse.py sparse: require [section] in sparse config files (BC) 2017-07-15 13:21:23 -07:00
strip.py bookmark: use 'applychanges' when stripping 2017-07-10 17:37:48 +02:00
transplant.py configitems: register the 'transplant.log' config 2017-06-30 03:44:30 +02:00
uncommit.py uncommit: add an experimental.uncommitondirtywdir config 2017-09-20 02:40:25 +05:30
win32mbcs.py configitems: register the 'win32mbcs.encoding' config 2017-06-30 03:45:54 +02:00
win32text.py configitems: register the 'win32text.warn' config 2017-06-30 03:45:56 +02:00