Menu

+++ Diffs Not Included in Email

Help
Brett
2008-06-03
2013-05-01
  • Brett

    Brett - 2008-06-03

    When emails are being formatted by SubversionNotify, the --- diffs are included in the emails, but the +++ diffs are not.  During my testing of the tool, I remember seeing +++ diffs, but when I test with only one diff between commits, it seems that only the lines removed from the modified files are reported.  Since I have been monkeying with the CFG file quite a bit (and haven't been saving the different versions), is there anything wrong with my CFG file below that could be causing this problem?

    <?xml version="1.0" standalone="yes"?>
    <subversionNotifyConfig xmlns="http://www.mckechney.com/SubversionNotifyConfig.xsd" LoggingLevel="DEBUG">
        <SVNConfig ExePath="C:\Program Files\Subversion\bin\svnlook.exe" />
        <MailServer Name="domaincontroller.mydomain.local" Username="" Password="" EMailSubjectTag="" ADGlobalCatalog="mydomain.local" FromAddress="" />

        <ReproPathConfig ControlledPaths="/">
            <MailTo EMailGroupName="group1,group2" EMailType="HTML" EMailSuppressionChar="~" CustomSubjectFormat="[svn] Revision #revision# Committed by #user# has Changed #filesWithPaths#"/>

            <DefaultLogMessage Text="#user# has decided not to add a log message."/>
            <CommitRequirements FailureMessage="Please add a commit message.">
                <CommitRequirement Description="Any Text" Regex="\w"/>
            </CommitRequirements>
        </ReproPathConfig>

        <EMailGroup Name="group1">
            <EMail Address="user1@mydomain.local"/>
            <EMail Address="user2@mydomain.local"/>
            <EMail Address="user3@mydomain.local"/>
        </EMailGroup>
        <EMailGroup Name="group2">
            <EMail Address="user4@mydomain.local"/>
        </EMailGroup>
        <EMailGroup Name="group3">
            <EMail Address="user5@mydomain.local"/>
        </EMailGroup>
        <EMailGroup Name="group4">
            <EMail Address="user6@mydomain.local"/>
        </EMailGroup>
        <EMailGroup Name="group5">
            <EMail Address="user7@mydomain.local"/>
        </EMailGroup>
        <EMailGroup Name="group6">
            <EMail Address="user8@mydomain.local"/>
        </EMailGroup>
    </subversionNotifyConfig>

    Thanks in advance for the help, and I promise this will be the last question posted from me for a while (I realize I have thrown quite a few up on the msgboard lately).  Hopefully after I get my outstanding issues resolved I can start helping others!

    Brett

     
    • Brett

      Brett - 2008-06-03

      If two or more changes are made, the diffs are reported as they should be.  However, if there is only one diff in the entire commit, the -diffs are listed, but not the +diffs.

       

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.