In SourceTree, when attempting to open an old version of a file from the log view I get a Windows Script Host error. The file in question is a JavaScript file and the error details appear to indicate that SourceTree is attempting to execute the file, not open it.
"Error: 'goog' is undefined"
The first line of the file is a goog.provide() call and I am assuming this is causing the error.