Fix build error in SetProjectCommand

This was a merge error caused by Martin and I both merging
incompatible changes at the same time. I merged something that
modified this API, Martin merged a new caller of the API.

Change-Id: Iee5e2479f24d7a1e151c670a1f10a071c9547f84
This commit is contained in:
Shawn O. Pearce
2012-06-19 17:35:48 -07:00
parent b66311308b
commit b482f0f6c2

View File

@@ -130,9 +130,7 @@ final class SetProjectCommand extends SshCommand {
project.setState(state != null ? state : project.getState());
md.setMessage("Project settings updated");
if (!config.commit(md)) {
err.append("error: Could not update project " + name + "\n");
}
config.commit(md);
} finally {
md.close();
}