[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: Molle Bestefich <molle.bestefich_at_gmail.com>
Date: 2005-05-20 11:19:51 CEST

Daniel Patterson wrote:
> To further my comment a couple of days ago about "it might be nice
> to attach a mime-type", I can certainly imagine a scenario
> where a glorified subversion client might want to send back a complicated
> template.
>
> Picture someone who builds an enhanced client that integrates bugtracking,
> branching, tagging, approval, workflow, etc. In this scenario,
> it'd probably be very useful to have an xml-like log message template
> language that the client can present a neato form for (drop down lists
> to choose bugs, etc).
>
> Whether it's worth considering that use case however....

It would definitely be useful to call the server-side hook with a
parameter telling it what client (TSVN / Subclipse / SVN) is
requesting the template. That way, the server could satisfy the
client with exactly the right template.

But I fail to see a use case where a mime-type would be useful. I
imagine a project space where both Windows and Linux development is
taking place, thus there are different types of clients used to access
the repository. What do you want these clients to actually do if
they're given a wrong template (eg. with a mime-type they don't
recognize)? Die with an error? Present a blank/no template? It
doesn't seem that useful to me. Am I missing a use case?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 20 11:20:44 2005

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