Skip to content

Commit

Permalink
globalrevs: fix "_autopull() got an unexpected keyword argument 'rewr…
Browse files Browse the repository at this point in the history
…itepullrev'"

Summary: As the title.

Reviewed By: muirdm, markbt

Differential Revision: D55445307

fbshipit-source-id: 4f1fdf0e8eb5eb3a7ad53a3cfc6970eae58f9016
  • Loading branch information
quark-zju authored and facebook-github-bot committed Mar 27, 2024
1 parent a49f8dd commit a4a8402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eden/scm/sapling/ext/globalrevs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a4a8402

Please sign in to comment.