D1638: py3: handle keyword arguments correctly in obsolete.py
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sat Dec 9 21:51:04 EST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG7354fda50e8b: py3: handle keyword arguments correctly in obsolete.py (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1638?vs=4317&id=4329
REVISION DETAIL
https://phab.mercurial-scm.org/D1638
AFFECTED FILES
mercurial/obsolete.py
CHANGE DETAILS
diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py
--- a/mercurial/obsolete.py
+++ b/mercurial/obsolete.py
@@ -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:
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list