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

RE: setting tsvn:logminsize in repository

From: Lübbe Onken | RA Consulting <l.onken_at_rac.de>
Date: Tue, 8 Jul 2008 16:07:54 +0200

Hash: SHA1

Hi Ian,

You wrote:
> I'm trying to set tsvn:logminsize within my repository to
> ensure that anyone
> who checks anything out is obliged to add a log message when
> they commit a
> change back.
> But, as far as I can tell, I can only apply this property to
> a user's checked
> out tree, not in the svn database itself, which seems to
> rather defeat the
> purpose.
> I'm hoping I've understood this wrong: have I?

Yes and no :)

At first tsvn:logminsize only applies to the users working copy, but after he has committed his changes, all other users who update/checkout their WC will have to enter a log message too, because the property is then also set in their WC.

The problem with this property is, that anyone can erase or change it, unless you protect it from accidental changes by a pre-commit hook, that only allows certain users to change this property. But you get a quick feed back, if your log message is too short.

The better choice would be to set up a pre-commit hook on the server, that checks for a meaningful and long enough log message.

- - Lübbe

- --
  oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
   \ \_/_\_/> The coolest Interface to (Sub)Version Control
   /_/ \_\ http://tortoisesvn.net
Version: GnuPG v1.4.7 (MingW32)


To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-07-08 16:08:05 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.