From a576013073ffbcfcb4955dc01c73df1f47b689e7 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Mon, 29 Jul 2024 21:59:13 -0700 Subject: [PATCH] misc cleanup --- lethe/lethe.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lethe/lethe.py b/lethe/lethe.py index ebb4415..d2d01d8 100755 --- a/lethe/lethe.py +++ b/lethe/lethe.py @@ -7,7 +7,6 @@ from typing import Sequence import subprocess import tempfile import datetime -import argparse from itertools import chain @@ -299,7 +298,7 @@ def snap( old_base_commit = get_commit(target_base, cwd=cwd) if old_base_commit: print(f'Migrating {target_base} to new naming scheme ({target_base}/LEGACY)...') - print(f'You may also want to delete refs/lethe/HEAD with `git update-ref -d refs/lethe/HEAD`') + print('You may also want to delete refs/lethe/HEAD with `git update-ref -d refs/lethe/HEAD`') _run('git update-ref -d ' + target_base) update_ref(target_base + '/LEGACY', old_base_commit, message='last commit using old refs/lethe/branchname approach')