changeset 35374:7354fda50e8b

py3: handle keyword arguments correctly in obsolete.py Differential Revision: https://phab.mercurial-scm.org/D1638
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 10 Dec 2017 04:47:49 +0530
parents 03112a2c9c83
children dce761558329
files mercurial/obsolete.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: