]> code.delx.au - gnu-emacs/blobdiff - lib-src/rcs-checkin
(EMACS_INT, EMACS_UINT): Omit if NOT_C_CODE.
[gnu-emacs] / lib-src / rcs-checkin
index ff2bf3de16a09622888e381de643fad52a390d67..7b894eac83df0db6fe903e080605803e86c701df 100755 (executable)
@@ -21,7 +21,7 @@
 # This script is intended to be used to convert files with an old-Emacs-style
 # version history for use with VC (the Emacs 19 version-control interface),
 # which likes to use RCS as its back end.  It was written by Paul Eggert
-# and revised/documented for use with VC by Eric S. Raymond, Mr 19 1993.
+# and revised/documented for use with VC by Eric S. Raymond, Mar 19 1993.
 
 case $# in
 0)
@@ -35,9 +35,6 @@ ls_owner_pattern='[^ ][^ ]*  *[^ ][^ ]*  *\([^ ][^ ]*\)'
 
 for file
 do
-       # Check that file is readable.
-       <$file || exit
-
        # Make it easier to say `rcs-checkin *'
        # by ignoring file names that already contain `~', or end in `,v'.
        case $file in
@@ -46,6 +43,9 @@ do
        # Ignore non-files too.
        test -f "$file" || continue
 
+       # Check that file is readable.
+       <$file || exit
+
        # If the RCS file does not already exist,
        # initialize it with a description from $file's first line.
        rlog -R "$file" >/dev/null 2>&1 ||