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

RE: Adding an Inspection Id to each Log Message.

From: Reedick, Andrew <Andrew.Reedick_at_BellSouth.com>
Date: 2006-08-16 00:13:55 CEST

> -----Original Message-----
> From: Royce Fessenden [mailto:rfessenden@dmp.com]
>
>
> I would like to be able to add an Inspection Id to
> each log message so that we can track when and where
> the code was inspected. There would need to be a
> way to go back and enter the Id sometime after the
> initial commit. A way to list all code without an
> inspection Id is also needed.
>
> Is it possible to do what I want? If so, where can
> I find more information to get me started?

http://svnbook.red-bean.com/nightly/en/svn.ref.svnadmin.c.setlog.html

> A way to list all code without an
> inspection Id is also needed.

You'll need to write a script to parse the comment fields from 'svn
log'.

I find it faster to parse the text output of 'svn log' instead of the
xml ('svn log --xml').
The "2 lines" indicates that the comment field is two lines line.
Everything else is easy to parse.
        r1234 | jdoe | 2006-08-14 13:41:25 -0400 (Mon, 14 Aug 2006) | 2
lines

You may also be interested in
http://svnbook.red-bean.com/nightly/en/svn.ref.svnprops.html

And remember, the commit message (and --revprop aka unversioned
properties) apply to revisions (groups of changes to files) and not to
individual files. However, they can be changed after the fact.
Versioned properties can be set on individual files but require a commit
and can only be changed with another commit.

*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. AL621

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 16 03:03:13 2006

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

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