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

Re: [TSVN] Tortoise clutters pre-commit message

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-03-24 19:44:36 CET

Stefan Voelkel wrote:

> I check for a specific log-message format in my pre-commit hook and create
> the following output if there is a policy violation:
>
> ------------- snip --------------
>
> echo "" 1>&2
> echo "========================================" 1>&2
> echo "log message policy violation detected" 1>&2
> echo "$CHECK violating lines follow" 1>&2
> echo "========================================" 1>&2
>
> cat $OUTPUT 1>&2
>
> echo "========================================" 1>&2
> echo "log message policy" 1>&2
> echo "" 1>&2
> echo " [dash][space][name][colon][space][message]" >&2
> echo " <this><does><not><show><up><with><toirtoise>" 1>&2
> echo "" 1>&2
> echo "examples" 1>&2
> echo "" 1>&2
> echo " - fred: this is a good message" 1>&2
> echo "========================================" 1>&2
>
> ------------- snip --------------
>
> In the attached screenshot you can see that some lines are broken, and the
> one containig '<this>...' does not show up at all.
>
> Is there anything I have to consider, so that the messages show up
> correctly?

TSVN uses its own dialog box which is a little bit better than the
standard one because it allows us to format the showed text a little bit
with 'html' tags. For example, you can write a message like this:

this is <b>BOLD</b> and <i>italic</i> and even <br=0xFF00FF>colors</br>
are possible.

But you just found out that this isn't really perfect because everything
inside any <XXX>YYYY</XXX> will vanish if the parser doesn't recognize
it as a 'valid' tag.

I see what I can do to prevent this kind of behaviour...

Stefan

-- 
        ___
   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 Thu Mar 24 19:45:17 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.