non existing files should be editable
This commit is contained in:
parent
3d9944edac
commit
110e5bfcc1
1 changed files with 10 additions and 2 deletions
|
|
@ -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($_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue