public void addToVersionControl(DomainFile df, boolean keepCheckedOut) throws Exception {

		assertFileInProject(df);

		df.addToVersionControl("Test comment", keepCheckedOut, TaskMonitor.DUMMY);
		waitForFileSystemEvents();
	}
Adds the given domain file to version control

@param df the domain file; cannot be null
@param keepCheckedOut true to keep the file checked-out
@throws Exception if there are any exceptions adding the file to version control
Ghidra/Features/Base/src/test/java/ghidra/base/project/FakeSharedProject.java