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

Re: RFC: Log Message Templates via new hook.

From: <kfogel_at_collab.net>
Date: 2005-05-26 00:03:49 CEST

kfogel@collab.net writes:
> By the way, if we were to do the hook thing, I'm fine with adding a
> new parameter to the hook's command-line, or an option like
>
> --client=[tsvn|rapidsvn|svn|whatever]
>
> ...so that the hook can make decisions about which template to send,
> based on knowledge about the client's likely interface. No site has
> to use, or even parse, that option, but maybe some sites would be glad
> to have the information.
>
> In general, +1 on changes that help clients DTRT.

Erik Huelsmann points out that the right way to do this is not by the
client's name, but by it's desires, e.g.:

   --xml ## send the template in xml
   --mime-type=blah ## send the template with blah mime-type
   --path-list-incomplete ## this path list is not complete

(The --path-list-incomplete would for TSVN and others to use.)

Again, this is a matter of shipping a good default hook script that
knows how to handle these things, so that they become standards.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 26 00:42:14 2005

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

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