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

Re: [TSVN] Repo-browser does not respect tsvn:minlogsize

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-06-08 09:49:55 CEST

Andrew Boothman wrote:
> As per the subject line really: I was able to delete a file using the
> repo-browser without entering a log message, despite tsvn:minlogsize
> being set. A commit from the same working copy did respect the
> minlogsize.
>
> I suspect that this might be because the repo-browser doesn't have
> instant access to the properties set on a folder or something. Perhaps
> this behaviour is intended?

This behaviour is expected. In a WC, TSVN can scan upwards through WC
folders looking for tsvn: properties. In the repo browser that would
involve doing the checks over the remote connection which could take a
very long time. One day, we may be able to solve this with inherited
properties, which has been under discussion on the SVN dev list.

Personally I would favour having a local MinLogSize setting, or even a
simple checkbox which means TSVN requires a message. TSVN would then
pick the larger of tsvn:minlogsize and the local setting. The rationale
for this is:

Most responsible developers will always want a log message, and they
just want a mechanism to avoid forgetting it by mistake. These people
will set a local MinLogSize to remind them, even if the repo is not set
up to do so, or if they are using repo-browser.

The tsvn:minlogsize property is a useful way of communicating this
requirement to those who have not set up a local minlogsize.

Neither method is foolproof. The only way to absolutely require a
message is to use a pre-commit hook.

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 Wed Jun 8 09:49:43 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.