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) ConsoleWrite('Date = ' & $obj.Date & @CRLF) ConsoleWrite('Author = ' & $obj.Author & @CRLF) ConsoleWrite('MinRev = ' & $obj.MinRev & @CRLF) ConsoleWrite('MaxRev = ' & $obj.MaxRev & @CRLF) ConsoleWrite('HasModifications = ' & $obj.HasModifications & @CRLF) ConsoleWrite('HasUnversioned = ' & $obj.HasUnversioned & @CRLF) ConsoleWrite('Url = ' & $obj.Url & @CRLF) ConsoleWrite('IsSvnItem = ' & $obj.IsSvnItem & @CRLF) ConsoleWrite('NeedsLocking = ' & $obj.NeedsLocking & @CRLF) ConsoleWrite('IsLocked = ' & $obj.IsLocked & @CRLF) ConsoleWrite('LockCreationDate = ' & $obj.LockCreationDate & @CRLF) ConsoleWrite('LockOwner = ' & $obj.LockOwner & @CRLF) ConsoleWrite('LockComment = ' & $obj.LockComment & @CRLF) ConsoleWrite(@CRLF) ConsoleWrite(@CRLF) EndFunc ;==>_TortoiseSVN_GetInfo cheers mLipok
-
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 ? Thanks
- 1 reply
-
- SVN
- Auto-update
-
(and 2 more)
Tagged with: