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

Re: [TSVN] Trac/bugtraq - Ticket to Changeset link

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-10-27 22:37:52 CEST

Mark Phippard wrote:

> Forgetting that we have set this all aside for now, if we used my idea of
> allowing a client-side program to be run, I see that there would be two
> distinct programs:
> 1) List of ID's. This program would produce a text file list of ID's.
> TSVN would use the text file to create a UI.

What about not using an external program. You could simply register an
URL scheme (like e.g. mybugtracker://) to your program and then you can
have as many parameters for your program as you need (in the URL). I
think that's a better approach because it doesn't need an external
program but could be the default browser too.

> 2) Validation. This program would be passed in the ID's the user entered
> or selected. The program would pass something back like "OK, "WARN" or
> "ERR", and possibly a message to display as well. Only if ERR was passed
> back would you stop the user.

How do you suggest such a program would validate the ID? If it has to
contact a server to do that, then a simple pre-commit hook could do the


   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 Oct 27 23:47:52 2004

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.