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

RE: [TSVN] log templates

From: steven.higgan <steven.higgan_at_orcon.net.nz>
Date: 2004-09-30 04:11:40 CEST

Ability to define our own template using keywords which tsvn recognizes &
fills in.

FileList (I know you said NO but just bear with me)
Code that parses this keyword will create a list of manipulated files along
with their status, which would also be an option.

Ability to customize status flags
$add$="something"
$change$="something"
$delete$="something"

Ability to incorporate simple formatting
$tab$ - inserts a tab space
$space$ - inserts a space

IE:
An example of a log template could be

---
$add$="add:$tab$"
$change$="chg:$tab$"	
$delete$="del:$tab$"
$tab$ - $BugId$ //filled from the ui box during the commit sequence
$tab$ - $FileList$ //assembles manipulated files
---
An example of what would be generated when the "insert template" button is
clicked
---
$BugId$
	- add:	/someFolder/someFile.cs
	- chg:	/someFolder/someOtherFile.cs
	- chg:	/someOtherFolder/someFile.cs
---
You could then add some notes as to what was changed
An example of what would end up being committed
---
closes 1 addresses 2
fixes the problem in 1
	- add:	/someFolder/someFile.cs
someProcedureName(..) was not properly validating the imputs given
changed its argument sanity check procedure.
	- chg:	/someFolder/someOtherFile.cs
someOtherProcedure(..) was returning a incorrect object.
	- chg:	/someOtherFolder/someFile.cs
---
A system like this is flexable enough to cope with whatever standards people
or organizations have for log messages.
-------------
Steven Higgan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Sep 30 11:50:08 2004

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