Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

TortoiseSVN Subversion commit & update hotkeys


  • Please log in to reply
No replies to this topic
  • Guests
  • Last active:
  • Joined: --
These hotkeys (F7 & F8) 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.

;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