Skip to content

Commit

Permalink
fix typo in tweakdefaults
Browse files Browse the repository at this point in the history
Summary: We have `ui.warn` but not `ui.warning`, which is probably what the original author meant to write. We don't seem to hit this code often anyways.

Differential Revision: D66730578

fbshipit-source-id: ced4a40f8f472f60c19f4a83367888558809e603
  • Loading branch information
sggutier authored and facebook-github-bot committed Dec 4, 2024
1 parent 40b5069 commit 5bd8eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eden/scm/sapling/ext/tweakdefaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def _analyzewrap(orig, x):
"tweakdefaults: _computeobsoletenotrebased or "
+ "_checkobsrebase are not what we expect them to be"
)
ui.warning(msg)
ui.warn(msg)

try:
remotenames = extensions.find("remotenames")
Expand Down

0 comments on commit 5bd8eb0

Please sign in to comment.