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

Re: [TSVN] bugtraq:message position

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2004-10-06 19:04:26 CEST

Erv Walter <erv@ewal.net> wrote on 10/06/2004 12:36:20 PM:

> Forgive me for this newb question: Is the issue ID only stored in the
> log entry, or is it stored in some sort of meta data for the commit. An

> even more newbie question: Is there even such a thing as revision
> specific metadata/properties that are attached not to a file or folder,
> but to the revision itsefl?

Subversion has a feature called revision properties that can store this
info. The log message, author and date are simply "built-in" rev props
but you can also set your own via the svn propset --revprop command. The
biggest problem with them is that most of the GUI's like TSVN do not have
any support for showing them, and it would be sort of hard to add support
without hardcoding the properties you cared about. Ideally, Subversion
would add a new built-in rev prop for bug ID that could be set as part of
the commit, but they do not seem interested in that idea.

The bug tracking solution we have come up with in TSVN leaves it up to the
bug tracking tool to parse the log messages in a post-commit hook and, if
desired, add the rev props. To add a rev prop you have to enable the
pre-revprop-change hook script. At its simplest, the script just has to
to return a success code, but if you want it can look at the prop being
changed and reject it.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Oct 6 20:12:24 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.