//create a backup file
File backup = new File(sfile.getParent(), filename+".bak");
try {
org.w3c.util.IO.copy(sfile, backup);
//try to merge
sc.update(filename);
cvs_status = sc.status(filename);
if (cvs_status == CVS.FILE_M) {
//merge done, so commit.
String author = pe.getAuthor();
String env [] = { "USER="+author ,