# HG changeset patch # User Yuya Nishihara # Date 1584766870 -32400 # Node ID 2d63a8910db61ff5da2bf1597f2fa7d067bdf409 # Parent f913ece27ff59ec8e90de3b97e6e0ed686104372 phabricator: remove *-argument from _getdrevs() It can't take more than one specs arguments per len(*specs). diff -r f913ece27ff5 -r 2d63a8910db6 hgext/phabricator.py --- a/hgext/phabricator.py Sat Mar 21 13:42:08 2020 +0900 +++ b/hgext/phabricator.py Sat Mar 21 14:01:10 2020 +0900 @@ -1632,19 +1632,19 @@ return meta -def _getdrevs(ui, stack, *specs): +def _getdrevs(ui, stack, specs): """convert user supplied DREVSPECs into "Differential Revision" dicts See ``hg help phabread`` for how to specify each DREVSPEC. """ - if len(*specs) > 0: + if len(specs) > 0: def _formatspec(s): if stack: s = b':(%s)' % s return b'(%s)' % s - spec = b'+'.join(pycompat.maplist(_formatspec, *specs)) + spec = b'+'.join(pycompat.maplist(_formatspec, specs)) drevs = querydrev(ui, spec) if drevs: