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

Re: Log message source priority

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 26 Jan 2008 18:46:50 +0100

Alexander Klenin wrote:
> On Jan 26, 2008 10:30 PM, Alexander Klenin <klenin_at_gmail.com> wrote:
>> By the way, what should TortoiseProc /command:commit do if
>> passed both /logmsg and /logmsgfile?
>>
>> 1) Silently use /logmsg, discard /logmsgfile
>> 2) Silently use /logmsgfile, discard /logmsg (current behavior)
>> 3) Fail with error message (I think this is best option)
>> 4) Concatenate them (most trivial fix).
>
> Hm, actually it is more complex than that.
> All message sources are now prioritized as following:
>
> 1) tsvn:logtemplate
> 2) /logmsg
> 3) /logmsgfile
> 4) %MESSAGEFILE% from start-commit hook
>
> Each source, if present, silently overrides previous one.
> In some cases, especially with (4), it even makes sense ;-)
> So perhaps this should be documented and left as-is?

Or maybe show an error if both /logmsg and /logmsgfile are passed. The
other behavior should be documented.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-01-26 18:47:11 CET

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.