# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1512861469 -19800 # Node ID 7354fda50e8b7d2b65941eacebbb576d99f7e386 # Parent 03112a2c9c83bdc6638ed693ff0291cfb9dcba1e py3: handle keyword arguments correctly in obsolete.py Differential Revision: https://phab.mercurial-scm.org/D1638 diff -r 03112a2c9c83 -r 7354fda50e8b mercurial/obsolete.py --- 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: