// This macro executes the 'svn revert' command in the Console plugin. String target = buffer.getPath(); command = "svn revert " + target; runInSystemShell(view, command); waitForConsole(view); buffer.reload(view);