aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--b4/ez.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/b4/ez.py b/b4/ez.py
index 06dfca4..eaa9dfe 100644
--- a/b4/ez.py
+++ b/b4/ez.py
@@ -148,7 +148,7 @@ def get_base_forkpoint(basebranch: str) -> Tuple[str, int]:
gitargs = ['rev-parse', '--verify', '--quiet', basebranch]
ecode, out = b4.git_run_command(None, gitargs)
if ecode > 0:
- logger.crtitical('CRITICAL: Could not find branch with this name: %s', basebranch)
+ logger.critical('CRITICAL: Could not find branch with this name: %s', basebranch)
raise RuntimeError('Branch %s not found', basebranch)
# Find merge-base with that branch
mybranch = b4.git_get_current_branch()
@@ -156,7 +156,7 @@ def get_base_forkpoint(basebranch: str) -> Tuple[str, int]:
gitargs = ['merge-base', '--fork-point', basebranch]
lines = b4.git_get_command_lines(None, gitargs)
if not lines:
- logger.crtitical('CRITICAL: Could not find common ancestor with %s', basebranch)
+ logger.critical('CRITICAL: Could not find common ancestor with %s', basebranch)
raise RuntimeError('Branches %s and %s have no common ancestors', basebranch, mybranch)
fp = lines[0]
logger.debug('Fork-point between %s and %s is %s', mybranch, basebranch, fp)