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

Re: [TSVN] Re: [Trac] Re: [TSVN] Trac/bugtraq - Ticket to Changeset link [was: Re: Trac [was: TortoiseSVN 1.1.1 released]]

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-10-27 17:46:34 CEST

Lars Klose wrote:
> Christopher Lenz wrote:
>
>> Just a couple of thoughts on this: you often want to refer to multiple
>> tickets in the same changeset, so it wouldn't make sense if TSVN
>> somehow automatically added the ticket selected in the combo-box to
>> the commit message. One possible approach would be that selecting a
>> ticket from the combo-box would insert the ticket number at the
>> current caret position.

TSVN has defined how the bug ID is added to the log message already.
See here for details:
http://svn.collab.net/repos/tortoisesvn/trunk/doc/issuetrackers.txt

>> A much more elegant approach to this whole story IMHO would be
>> auto-completion. I.e. you type # in the commit message, and after
>> waiting half a second or somehow hitting a trigger such as ctrl+space,
>> a drop-down containing the open tickets is presented to you. Select
>> the one you want and the ticket number is appended to the '#' you
>> already typed. You get the idea :-)
>
>
> Wow. Indeed _much_ more elegant and more flexible at the same time!
> Forget about the combobox :-)
> Though the '#' may already be specific to your issue tracking system and
> thus the prefix would have to be configurable through yet another
> bugtraq property...

The problem with that approach is that whatever char you choose, you
can't be really sure that it won't appear in the log message without
referring to an issue/ticket. That's why we've defined that a
bug-ID/ticketnumber has to be added or prepended to the log message in a
well defined format, and that it has to be on its own line. Only that
way you can reduce the risk of false bug-ID's used by the issuetracker
pre/post-commit hook as a real one.

And yes, your suggestion sounds great. But you can't expect a Subversion
client to implement something that big? I mean you're expecting
something not even big text editors can do - and a Subversion client is
no text editor.

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 Wed Oct 27 18:47:47 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.