##// 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 exchange,
19 exchange,
20 hg,
20 hg,
21 lock,
21 lock,
22 pycompat,
22 registrar,
23 registrar,
23 util,
24 util,
24 )
25 )
@@ -60,6 +61,7 b" def fetch(ui, repo, source='default', **"
60 Returns 0 on success.
61 Returns 0 on success.
61 '''
62 '''
62
63
64 opts = pycompat.byteskwargs(opts)
63 date = opts.get('date')
65 date = opts.get('date')
64 if date:
66 if date:
65 opts['date'] = util.parsedate(date)
67 opts['date'] = util.parsedate(date)
General Comments 0
You need to be logged in to leave comments. Login now