non existing files should be editable

This commit is contained in:
Ward Wouts 2004-01-03 09:07:51 +00:00
parent 3d9944edac
commit 110e5bfcc1

View file

@ -71,8 +71,16 @@ if ( $cvspath ) {
} }
} }
} else { } else {
print "$_ is not a file, skipping. Press enter to continue.\n"; if ( $option{e} ) {
my $enter = <>; &edit($_); # edit file
unless (&cmptocvs($_)) { # if changed... then:
&cvsupdate($_); # copy file to cvs & check in into cvs
# copy file back; don't change permissions
}
} else {
print "$_ is not a file, skipping. Press enter to continue.\n";
my $enter = <>;
}
} }
} }
} else { } else {