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

Re: [PATCH] Issue 3227 - adding some extra "custom" headers to the email

From: Jon Bendtsen <jbendtsen_at_laerdal.dk>
Date: Mon, 23 Feb 2009 16:48:53 +0100

Hi Greg

I dont know if you saw my patches from feb 4. You never replied.

Well, now i hear from my coworkers that it is not good enough, and
since you have been giving valueable input before i figured you could
do it again.

Lets see some paths
        trunk/module/directory/.../file
        branches/branch_name/module/directory/.../file
        tags/tag_name/module/directory/.../file

if the headers path is something like:
        headers_path = branch/module/directory/.../file
then given the paths from above we would have different header fields
depending on whether or not we were in trunk or in branches/tags.

One of my ideas is to recognize the special words branches tags and
remove them by simply shifting the path one segment to the left, such
that the x-branch header field would contain the banch_name

Another idea could be to have 3 header paths
        trunk_headers_path = branch/module/...
        branches_headers_path = _/branch/module/...
        tags_headers_path = _/tag/module/...

What ideas do you and other readers have?

JonB

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1215208
Received on 2009-02-23 17:06:00 CET

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.