py3: handle keyword arguments correctly in obsolete.py
Differential Revision: https://phab.mercurial-scm.org/D1638
--- a/mercurial/obsolete.py Sun Dec 10 04:47:34 2017 +0530
+++ b/mercurial/obsolete.py Sun Dec 10 04:47:49 2017 +0530
@@ -776,7 +776,7 @@
# rely on obsstore class default when possible.
kwargs = {}
if defaultformat is not None:
- kwargs['defaultformat'] = defaultformat
+ kwargs[r'defaultformat'] = defaultformat
readonly = not isenabled(repo, createmarkersopt)
store = obsstore(repo.svfs, readonly=readonly, **kwargs)
if store and readonly: