[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Log auto-completion

From: Clemens Anhuth <clemens_at_froglogic.com>
Date: Thu, 07 May 2009 11:57:44 +0200

webpost_at_tigris.org wrote:
>> webpost_at_tigris.org wrote:
>>> We have defined a set of rules to be used while describing the commit message. These rules imply the use of particular Keywords which have the following representation: "[Dev]", "[Delivered]", "[ToBeReleased]" and so on...
>>> While Tortoise SVN allows to perform autocompletion of the message by analysing the names of the files that are to be commited. Is it possible to make Tortoise SVN perform the same type of autocompletion with our defined keywords?
>>> For example : When a user starts typing the characters "[T" the keyword "[ToBeReleased" shall be displayed.
>>> This would help the whole team to have identical structure of log messages.
>> Hello Thomas,
>> maybe you can introduce AutoHotkey, which can not only solve that
>> particular requirement of yours:
>> http://www.autohotkey.com/docs/Hotstrings.htm
>> You can generate small *.exe files from AutoHotkey scripts, should that
>> be desired.
>> A script for your case would look like this:
>> #SingleInstance force
>> :k-1*:[t::[ToBeReleased]
> I Shall try and define the scripts that can help us in describing our comments.
> The main problematic I shall probably encounter is to find the best scripts to avoid people having automatic text appear when they are working on other tools than Tortoise SVN.
> I may have to also detect Right Click + SVN Commit operations.

Hello Thomas,

you are right, here is a refined version, which works only in windows
whose titles start with "Commit -", like the one from TortoiseSVN:

#SingleInstance force

; 1: Must match start of window title
SetTitleMatchMode, 1

#IfWinActive, Commit -

With best regards

Clemens Anhuth


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-05-07 12:08:42 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.