diff options
author | peter <peter@FreeBSD.org> | 1995-08-05 18:58:54 +0800 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1995-08-05 18:58:54 +0800 |
commit | e0752062598626fdb7bca600ba59ddf267e27d1c (patch) | |
tree | d91efa83dcc6b090cca55de4398c8edc268ec40c /CVSROOT | |
parent | 15b2734b38908f87830c81f9540116edc26600df (diff) | |
download | freebsd-ports-graphics-e0752062598626fdb7bca600ba59ddf267e27d1c.tar.gz freebsd-ports-graphics-e0752062598626fdb7bca600ba59ddf267e27d1c.tar.zst freebsd-ports-graphics-e0752062598626fdb7bca600ba59ddf267e27d1c.zip |
correct the CVS: botch
CVS:
CVS:
Diffstat (limited to 'CVSROOT')
-rwxr-xr-x | CVSROOT/cvsedit | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/CVSROOT/cvsedit b/CVSROOT/cvsedit index f47c46c5024..d94e1a8e9b1 100755 --- a/CVSROOT/cvsedit +++ b/CVSROOT/cvsedit @@ -6,7 +6,7 @@ # To use this, make it executable, and set your editinfo DEFAULT line: # DEFAULT /path/to/this/program # -# $Id$ +# $Id: cvsedit,v 1.2 1995/08/05 09:00:19 peter Exp $ # # same rules as CVS @@ -42,6 +42,14 @@ open(OUT, "> $tmpfile") || $blank = 0; # true if the last line was blank $first = 0; # true if we have seen the first real text while(<IN>) { + + # Dont let CVS: lines upset things, but maintain them in case + # the editor is re-entered. NO CHANGES!! + if (/^CVS:/) { + print OUT; + next; + } + chop; # strip trailing newline s/[\s]+$//; # strip trailing whitespace @@ -56,12 +64,6 @@ while(<IN>) { /^Obtained from:$/) { next; } - # Dont let CVS: lines upset things, but maintain them in case - # the editor is re-entered. - if (/^CVS:/) { - print OUT "$_\n"; - next; - } if ($blank && $first) { # Previous line(s) was blank, this isn't. Close the # collapsed section. |