D2563: debugcommands: add some strkwargs love to some **args calls

2018-03-02 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGdfcf589a4031: debugcommands: add some strkwargs love to 
some **args calls (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2563?vs=6380=6386

REVISION DETAIL
  https://phab.mercurial-scm.org/D2563

AFFECTED FILES
  mercurial/debugcommands.py

CHANGE DETAILS

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -2790,12 +2790,13 @@
 if 'PUSHFILE' in args:
 with open(args['PUSHFILE'], r'rb') as fh:
 del args['PUSHFILE']
-res, output = peer._callpush(command, fh, **args)
+res, output = peer._callpush(command, fh,
+ **pycompat.strkwargs(args))
 ui.status(_('result: %s\n') % util.escapedata(res))
 ui.status(_('remote output: %s\n') %
   util.escapedata(output))
 else:
-res = peer._call(command, **args)
+res = peer._call(command, **pycompat.strkwargs(args))
 ui.status(_('response: %s\n') % util.escapedata(res))
 
 elif action == 'batchbegin':



To: durin42, #hg-reviewers, yuja
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D2563: debugcommands: add some strkwargs love to some **args calls

2018-03-02 Thread durin42 (Augie Fackler)
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2563

AFFECTED FILES
  mercurial/debugcommands.py

CHANGE DETAILS

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -2790,12 +2790,13 @@
 if 'PUSHFILE' in args:
 with open(args['PUSHFILE'], r'rb') as fh:
 del args['PUSHFILE']
-res, output = peer._callpush(command, fh, **args)
+res, output = peer._callpush(command, fh,
+ **pycompat.strkwargs(args))
 ui.status(_('result: %s\n') % util.escapedata(res))
 ui.status(_('remote output: %s\n') %
   util.escapedata(output))
 else:
-res = peer._call(command, **args)
+res = peer._call(command, **pycompat.strkwargs(args))
 ui.status(_('response: %s\n') % util.escapedata(res))
 
 elif action == 'batchbegin':



To: durin42, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel