Files
OpenRA/tools/perforce-revert.lua
crazybutcher c1286624be tools, sorted by name
tools, added perforce commands
2011-02-07 10:10:52 +01:00

11 lines
222 B
Lua

return {
exec = {
name = "Perforce revert",
description = "does p4 revert",
fn = function(wxfname,projectdir)
local cmd = 'p4 revert "'..wxfname:GetFullPath()..'"'
RunCommandLine(cmd,nil,true)
end,
},
}