Search the Community
Showing results for tags 'SVN'.
Based on this: http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-subwcrev-com-interface.html#tsvn-subwcrev-COM-table here is some small example: ConsoleWrite(@CRLF) ConsoleWrite(@CRLF) _TortoiseSVN_GetInfo() ConsoleWrite(@CRLF) ConsoleWrite(@CRLF) Func _TortoiseSVN_GetInfo($sFile = @ScriptFullPath) Local $obj = ObjCreate("SubWCRev.object") ConsoleWrite('GetWCInfo = ' & $obj.GetWCInfo($sFile, True, True) & @CRLF) ConsoleWrite('GetWCInfo2 = ' & $obj.GetWCInfo2($sFile, True, True, True) & @CRLF) ConsoleWrite('Revision = ' & $obj.Revision & @CRLF) Console
So i have been trying to find a way to auto update my SVN repo whenever someone commit a new file I found this commandline from google and i can get that to work with autoit np CD C:\Program Files\TortoiseSVN\bin\ START TortoiseProc.exe /command:update /path:"C:\www\MyRepo\" /closeonend:0 But what i want is everytime someone commits something and my repo aint the newest version, i want it to run the commandline. I tried googling and can't find anything is this even possible, if it is how? can you get the newest version with a command line to and compare it to your own version maybe