I would like to use SVN commands in my PowerShell script.
I know I need to declare the SVN executable as a variable, but afterwards I want to commit a file which I have declared as a variable and the commit message I would like to give is specified in a file.
$svnExe = "C:\Program Files\TortoiseSVN\bin\svn.exe"
$myFile = "C:\xx\file.txt"
$commitMsg = "C:\xx\msg.txt"
$myFile is already a versioned file, $commitMsg is not and will also not be a versioned file.
From command-line this works:
svn commit -F C:\xx\msg.txt C:\xx\file.txt
But how would I do this using PowerShell?