##// END OF EJS Templates
py3: handle keyword arguments in hgext/fetch.py...
Pulkit Goyal -
r34978:a56bf559 default
parent child Browse files
Show More
@@ -19,6 +19,7 b' from mercurial import ('
19 19 exchange,
20 20 hg,
21 21 lock,
22 pycompat,
22 23 registrar,
23 24 util,
24 25 )
@@ -60,6 +61,7 b" def fetch(ui, repo, source='default', **"
60 61 Returns 0 on success.
61 62 '''
62 63
64 opts = pycompat.byteskwargs(opts)
63 65 date = opts.get('date')
64 66 if date:
65 67 opts['date'] = util.parsedate(date)
General Comments 0
You need to be logged in to leave comments. Login now