Bale
Minion
boolean svn(string project) - Does mafia have a working copy for project?
boolean svn(string project, boolean uptodate) - Is mafia's working copy for project up to date?
It would be helpful if there was an ash command that could check the svn to see if a certain script is up to date.
For instance, WHAM might want to check svn("BatBrain", true) and svn("SmartStasis", true) and if there is a new revision, the function would return false so WHAM could automatically cli_execute("svn update"). Or more likely, a script might want to check its own revision and update if necessary.
boolean svn(string project, boolean uptodate) - Is mafia's working copy for project up to date?
It would be helpful if there was an ash command that could check the svn to see if a certain script is up to date.
For instance, WHAM might want to check svn("BatBrain", true) and svn("SmartStasis", true) and if there is a new revision, the function would return false so WHAM could automatically cli_execute("svn update"). Or more likely, a script might want to check its own revision and update if necessary.