From a4a84021bb97fdd8bc024bda7c72cb5ba9ec8056 Mon Sep 17 00:00:00 2001 From: Jun Wu Date: Wed, 27 Mar 2024 14:27:13 -0700 Subject: [PATCH] globalrevs: fix "_autopull() got an unexpected keyword argument 'rewritepullrev'" Summary: As the title. Reviewed By: muirdm, markbt Differential Revision: D55445307 fbshipit-source-id: 4f1fdf0e8eb5eb3a7ad53a3cfc6970eae58f9016 --- eden/scm/sapling/ext/globalrevs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eden/scm/sapling/ext/globalrevs.py b/eden/scm/sapling/ext/globalrevs.py index 5a7f3de0c1cd8..116f2f6940f42 100644 --- a/eden/scm/sapling/ext/globalrevs.py +++ b/eden/scm/sapling/ext/globalrevs.py @@ -304,7 +304,7 @@ def _getnamespace(_repo) -> namespace: @autopullpredicate("globalrevs", priority=75, rewritepullrev=True) -def _autopull(repo, name, _rewritepullrev=False) -> Optional[autopull.pullattempt]: +def _autopull(repo, name, rewritepullrev=False) -> Optional[autopull.pullattempt]: if not repo.ui.configbool("globalrevs", "autopull", True): return None