check if file is actually made into existance before committing to cvs
This commit is contained in:
parent
110e5bfcc1
commit
118f0b1cab
1 changed files with 2 additions and 2 deletions
|
|
@ -71,9 +71,9 @@ if ( $cvspath ) {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
if ( $option{e} ) {
|
||||
if ( ! -e $_ && $option{e} ) {
|
||||
&edit($_); # edit file
|
||||
unless (&cmptocvs($_)) { # if changed... then:
|
||||
if ( -f $_ ) {
|
||||
&cvsupdate($_); # copy file to cvs & check in into cvs
|
||||
# copy file back; don't change permissions
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue