From 1ace2559dd09b056d6a1f8d35f1b061bde4ab808 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 13 Jul 2007 14:02:57 +0000 Subject: [PATCH] Minor bug fixes. --- sccs2rcs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sccs2rcs b/sccs2rcs index 9994bf3..0113bcc 100755 --- a/sccs2rcs +++ b/sccs2rcs @@ -298,6 +298,8 @@ if __name__ == '__main__': deltalines.pop(0) if deltalines[0].startswith("COMMENTS"): break + while not deltalines.strip(): + deltalines.pop(0) deltamsg = deltalines.join("\n") cmd = 'ci -f -r%s -d"%s" -w%s %s' % (rev, date, author, stem) # FIXME: output of this command isn't logged @@ -309,7 +311,7 @@ if __name__ == '__main__': except OSError: die("RCS checkin of delta failed") # We're done - logtext += get_output_or_die("unget " + sccsmaster(stem)) + get_output_or_die("unget " + sccsmaster(stem)) # Replace all files for which there exist SCCS masters, progress("replacing workfiles...") -- 2.43.0