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

Re: [TSVN] Re: Feature request - std rev properties

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-06-13 13:58:58 CEST

John wrote:
> Simon Large <slarge <at> slarge.plus.com> writes:
>
>>> When you commit, a dropdown list of 'standard' revision properties,
>>> along with a textbox allowing some free text. You could configure
>>> the options for the dropdown via the TSVN config file.
>>>
>> Have you looked at the tsvn:logtemplate property in the project
>> properties section of the manual?
>
> Ahh, I didn't know that was there. But I was thinking about something
> more strongly-typed (my feeling: when you have to start using regex
> to extract a chunk data, something is wrong!).

Have I missed something? Where does regex come into it? The help file
just says:

"tsvn:logtemplate is used with projects which have rules about log
message formatting. The property holds a multi-line text string which
will be inserted in the commit message box when you start a commit. You
can then edit it to include the required information. Note: if you are
also using tsvn:logminsize, be sure to set the length longer than the
template or you will lose the protection mechanism."

SVN will provide a new method for log message templates fairly soon,
although the end-user view is going to be fairly similar to the existing
tsvn:logtemplate

If you want to enforce log message styles, you have to use a pre-commit
hook, so you may need to use some form of regex there.

> If SVN supports customized property types, doesn't it make sense to
> allow TSVN to set them?

You can set any property name and value you like. From the file/folder
properties, Subversion tab, type in a property name, type in a value and
click 'Set'. Not sure how this is relevant to the discussion.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jun 13 13:59:02 2005

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

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