AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TortoiseSVN Subversion commit & update hotkeys

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Feb 16, 2006 7:21 pm    Post subject: TortoiseSVN Subversion commit & update hotkeys Reply with quote

These hotkeys (F7 & FCool allow you to update/commit a Subversion working copy using TortoiseSVN and Explorer. You need to have "Display the full path in the title bar" option enabled in the tools->view tab.

I set the default log message to "Autoversioning commit" because at I have a post-commit hook which keys off that to rewrite the log with a custom user log message (use this for DAV autoversioning clients)

This will save you several mouse clicks and gestures, and if you are committing and updating often, your workflow will feel much smoother.

Code:
;SVN Update
F7::

   WinGetActiveTitle, pth
   cmd = c:\program files\TortoiseSVN\bin\TortoiseProc.exe /command:update /path:"%pth%" /notempfile /closeonend:3

   run, %cmd%, %pth%
Return

;SVN Commit
F8::

   WinGetActiveTitle, pth
   cmd = c:\program files\TortoiseSVN\bin\TortoiseProc.exe /command:commit /path:"%pth%" /logmsg:"Autoversioning commit" /notempfile /closeonend:3

   run, %cmd%, %pth%
Return
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group