diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-05-22 18:12:34 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-05-22 18:12:34 -0400 |
commit | 34bcb457865d0b58e08486b2ceb80e9067717e60 (patch) | |
tree | 0fbf1a0767e3cafd340ad877c2b2cda7d9c47011 | |
parent | a73711ad65e0f5d9ad155713fea2e609cd7fc188 (diff) | |
download | b4-34bcb457865d0b58e08486b2ceb80e9067717e60.tar.gz |
Suggest what to do when auto-find fails
When we can't auto-find the previous version (usually because the cover
letter subject changes), suggest what to do: run b4 am -T and b4 diff on
both mboxes.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r-- | b4/diff.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -177,7 +177,8 @@ def diff_same_thread_series(cmdargs): lower = min(lmbx.series.keys()) if upper == lower: - logger.critical('Could not find previous revision') + logger.critical('ERROR: Could not auto-find previous revision') + logger.critical(' Run "b4 am -T" manually, then "b4 diff -m mbx1 mbx2"') return None, None if upper not in lmbx.series: |