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.
Attachments
For Gerrit Dashboard: QTCREATORBUG-3786 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
2501,1 | P4: Allow for reversal of unchanged files | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |