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

@ -70,11 +70,19 @@ if ( $cvspath ) {
# copy file back; don't change permissions
}
}
} else {
if ( $option{e} ) {
&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 {
foreach ( @ARGV ) {
&backup($_);