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

Re: revision categories / classification

From: Roger Lipscombe <roger_at_differentpla.net>
Date: Thu, 17 Jan 2008 16:27:27 +0000

(cc'ed to Paul deliberately)

You might have seen me asking about adding integration with an
issue/task tracker in the commit dialog. This looks like a useful base
to work from (i.e. I think we might be able to pool our efforts and come
up with something reasonably generic that suits both needs).

I've not started on my stuff yet (my MSDN subscription still hasn't been
activated, so no Visual Studio 2008 RTM yet), and I've still got to
persuade the powers-that-be to give us some work time on it. If they
don't, I'll see what personal time I can spare.

Maybe if we came up with something fairly generic: TortoiseSVN loads a
list of "commit annotation providers", implemented as COM objects, and
these can add either drop-down buttons (for your case) or command
button/hyperlinks (for my case). Or even, extra labels and edit boxes
(i.e. the current bugtraq: stuff could be factored out as a demonstrator).

In your case, the category provider would simply return a list of
values. When you'd picked one, the provider could return some text to
put into the commit message (along with a flag: top, bottom, at cursor).
A simple provider would could either use a custom property (so maybe not
a tsvn: one), or could use a config file on the local machine.

In my case, the issue tracker provider would pop up a dialog box, and
then could return arbitrary text (and the flag). It would probably talk
to a webservice or database to get the list of tasks/issues.

As I say, I'm still waiting for VS2008 RTM to turn up, but when it does,
I'll bang out some prototype code and come back for more discussion.

Thoughts?

Cheers,
Roger.

Paul wrote:
> Hi
>
> We need to categorize our commits in our company to classify them for
> later use in our revision histories (we have numberous clients running
> off the same code base).
> So i had a go at add this funtionality to tsvn.
>
> I don't know whether you'd want to add this to the main code (maybe
> it's too bespoke?) but i thought I'd let you know about it anyway.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-01-17 17:27:49 CET

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