Mercurial > hg-stable
changeset 35032:a56bf5591918
py3: handle keyword arguments in hgext/fetch.py
Differential Revision: https://phab.mercurial-scm.org/D1302
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 23 Oct 2017 00:02:28 +0530 |
parents | a8bc191fee5a |
children | de1f045781e0 |
files | hgext/fetch.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/fetch.py Mon Oct 23 00:02:07 2017 +0530 +++ b/hgext/fetch.py Mon Oct 23 00:02:28 2017 +0530 @@ -19,6 +19,7 @@ exchange, hg, lock, + pycompat, registrar, util, ) @@ -60,6 +61,7 @@ Returns 0 on success. ''' + opts = pycompat.byteskwargs(opts) date = opts.get('date') if date: opts['date'] = util.parsedate(date)