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

RFE: a flag to 'svn checkin' to set a user defined revision property

From: Stefan Seefeld <seefeld_at_sympatico.ca>
Date: 2004-12-11 03:54:13 CET

hi there,

I'd like to suggest an enhancement to the 'svn checkin' frontend:

Some users may be interested in combining a subversion repository
with an issue tracker in multiple ways, for example to audit
checkins that are related to a particular issue, or to update
a particular issue after a (successful) checkin.

Right now the way to do that is to embed some token into the
'log' property, and then use either the pre-commit or the post-commit
script to detect that token and act according to it (usually this
token would be an issue number or something related).

However, I'v always felt this approach a bit hackish, as the log
message seems to me tagetted more at the human eye than at a
parser.

I'd thus prefer to be able to use a (custom) property such as
'issue'. Ideally, I'd like to be able to write my checkin command
as 'svn commit -m "rewrote 'foo'" -p issue=bug25 foo.cc',
i.e. some fictitious '-p' flag would allow me to provide a name/value
pair for a revision property.

Further, I imagine that such an addition would be particularly
interesting for graphical interfaces to subversion, where such
annotations could be provided via the GUI (i.e. a 'checkin' button
could be enabled only once the 'issue' field has been filled in).

Does this make sense ?

Regards,
                Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 11 19:59:35 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.