mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
*** empty log message ***
This commit is contained in:
parent
c7566dd995
commit
3bfe01c424
@ -343,11 +343,15 @@ rename_file(SoftCVS::SceneFiles::iterator begin,
|
||||
Filename file((*p).get_dirname(), (*p).get_filename());
|
||||
if (!file.unlink()) {
|
||||
nout << "Unable to remove " << file << ".\n";
|
||||
} else if ((*p).is_1_0()) {
|
||||
cvs_has_1_0 = true;
|
||||
// We don't cvs remove the 1.0 version.
|
||||
} else {
|
||||
_cvs_remove.push_back(file);
|
||||
if ((*p).get_in_cvs()) {
|
||||
if ((*p).is_1_0()) {
|
||||
// We don't cvs remove the 1.0 version.
|
||||
cvs_has_1_0 = true;
|
||||
} else {
|
||||
_cvs_remove.push_back(file);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -364,11 +368,14 @@ rename_file(SoftCVS::SceneFiles::iterator begin,
|
||||
// We do have to cvs remove the old one.
|
||||
_cvs_remove.push_back(source);
|
||||
}
|
||||
|
||||
if (!cvs_has_1_0) {
|
||||
// And we have to cvs add the new one.
|
||||
_cvs_add.push_back(dest);
|
||||
}
|
||||
|
||||
orig.set_in_cvs(true);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user