GetSubversionPath
>Psychtoolbox>PsychOneliners
svnpath = GetSubversionPath – Return auto-detected installation path
for svn client, if any. Return empty string if auto-detection not
possible. Typical usage is like this:
mysvncommand = [GetSubversionPath ‘svn status’]; system(mysvncommand);
GetSubversionPath will return the path to be prefixed in front of the svn
executable. If none can be found, the svn executable will be executed
without path spec. If it is installed in the system executable search
path, it will then still work.
The function simply checks if the svn executable is in the Matlab path
and returns a proper path-spec. If it isn’t found in the Matlab path, it
tries default path locations for OS-X and Windows. If that doesn’t work,
it returns an empty string.
Path Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychOneliners/GetSubversionPath.m