D1302: py3: handle keyword arguments in hgext/fetch.py

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sat Nov 4 03:52:15 EDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa56bf5591918: py3: handle keyword arguments in hgext/fetch.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1302?vs=3239&id=3277

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

AFFECTED FILES
  hgext/fetch.py

CHANGE DETAILS

diff --git a/hgext/fetch.py b/hgext/fetch.py
--- a/hgext/fetch.py
+++ b/hgext/fetch.py
@@ -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)



To: pulkit, #hg-reviewers, yuja
Cc: mercurial-devel


More information about the Mercurial-devel mailing list