Menu

Removing Revision and message length

Help
koushik
2008-06-16
2013-05-01
  • koushik

    koushik - 2008-06-16

    Hi,

    I am trying to use the plain text version of the e-mail and get an e-mail body as

    -------------------------------------------------------
    Revision: 7
    koushik
    2008-06-13 10:39:02 -0700 (Fri, 13 Jun 2008)
    11
    made a copy

    Added:
    tags/release/release3/
    --------------------------------------------------------

    The plain text e-mail body I would prefer to have is
    ------------------------------------------------
    koushik
    2008-06-13 10:39:02 -0700 (Fri, 13 Jun 2008)
    made a copy
    ------------------------------------------------

    There is a file in the source https://svn-notify.svn.sourceforge.net/svnroot/svn-notify/trunk/SubversionNotify/FormatTemplates/Header.txt which has the following text

    Revision #revision#
    Author #author#
    Date #date#
    #logMessage# #fileList#

    Is there a direct way to modify these format file to get what I want?

    Cheers
    Koushik

     
    • mmckechney

      mmckechney - 2008-06-18

      Koushik,
      I have just posted a minor release (Version 2.0.2) that adds the ability to specify a custom e-mail body. I've added it via a "CustomEmailTemplateFile" attribute of the <MailTo> element. This along with an EMailType="Custom" setting will direct SubversionNotify to try to load the specified file from the same directory as the exe and use that as a template (with the replacement tokens) for the e-mail message.

      For full details, check out the project site at http://www.subversionnotify.com/ and see both the "Change Log" for installation instructions and the manual for implementation details

      I hope this helps. If you have any questions, please feel free to ask.

      Mike

       
    • koushik

      koushik - 2008-06-18

      Thank you very much Mike!!

      Great work. I will test it in a couple of days

      Cheers
      Koushik

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.