Details
-
Bug
-
Resolution: Done
-
P5: Not important
-
Qt Creator 2.1.0-rc1
-
Mac OS X 10.6.6
Description
Running the "revert" command for the currently open file results in the "diff" operation. The file was unchanged,
so the diff had no results. It should run "revert."
PerforcePlugin::revertCurrentFile() appears not to handle this case.
Perhaps if "result.stdOut.isEmpty()" run "revert -a" on the file and return.