From 6a17471ce27a221afaad21ad2a4439d7b5124506 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 7 Nov 2014 16:49:49 -0500 Subject: [PATCH] Out-of-bounds revision check. --- src | 1 + srctest | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src b/src index 8068be5..cb30500 100755 --- a/src +++ b/src @@ -22,6 +22,7 @@ def announce(msg): sys.stdout.write("src: " + msg + "\n") def croak(msg): + sys.stdout.flush() sys.stderr.write("src: " + msg + "\n") sys.exit(1) diff --git a/srctest b/srctest index 781ae37..d9c4571 100755 --- a/srctest +++ b/srctest @@ -97,7 +97,14 @@ src $TESTOPTS log testfile1 >testfile5 diff testfile4 testfile5 check "3-commit log test" -#src list 5 testfile1 +cat >testfile6 <testfile7 2>&1 +diff testfile6 testfile7 +check "oob revision spec check" # to do: checkout, tag, fast-export -- 2.43.0