Menu

Unable to send email from branch commit

Help
2009-06-22
2013-05-01
  • Andrew Swift

    Andrew Swift - 2009-06-22

    I cannot get an email sent when commiting in a branch although this works when committing from trunk.

    I am including the debug email and the relevant config.

    [22/06/2009 11:35:45]        Starting process for Revision 60-1x [C:\Repositories\testrepos]
    [22/06/2009 11:35:50]        Configuration file deserialized. Logging level set to: DEBUG
    [22/06/2009 11:35:50]        SubversionNotify, Version=2.0.7.0, Culture=neutral, PublicKeyToken=null
    [22/06/2009 11:35:50]        No ItemTrackerRegistration entries found.
    [22/06/2009 11:35:51]        Processing type: pre-commit
    [22/06/2009 11:35:51]        Commit Paths: /projB/branches/NMCLive/
    [22/06/2009 11:35:51]        Controlled Paths List:  /projA
    [22/06/2009 11:35:51]        Controlled Paths List:  /projB/trunk
    [22/06/2009 11:35:51]        Controlled Paths List:  /projB/branches
    [22/06/2009 11:35:51]        Found Applicable RepoConfig: '/projb/branches' with /projB/branches/NMCLive/
    [22/06/2009 11:35:51]        SetRepoPathPrecidence :: Incomming configs = 1 ; Returning configs = 1
    [22/06/2009 11:35:51]        SelectApplicableReproConfigs :: Returning 1 RepoPathConfig objects
    [22/06/2009 11:35:51]        LockedPaths :: No check elements found.
    [22/06/2009 11:35:52]        PreCommitProcessing :: Generating SvnLook directory file listing
    [22/06/2009 11:35:52]        PreCommitProcessing :: Checking for case-insensitive file match
    [22/06/2009 11:35:52]        Passed Folder Name Exclusion test.
    [22/06/2009 11:35:52]        Passed File Type Exclusion test.
    [22/06/2009 11:35:52]        Checking for FileTypeTag Requirements complete. Not Required.
    [22/06/2009 11:35:52]        Checking for LogMessageCheck Requirements. Configs to check: 1
    [22/06/2009 11:35:52]        LogMessageCheck checking log message: made a new branch
    merged

    [22/06/2009 11:35:52]        LogMessageCheck file list: UU  projB/branches/NMCLive/b.txt

    [22/06/2009 11:35:52]        LogMessageCheck Commit Regex Found: m
    [22/06/2009 11:35:52]        GleenItemNumbers :: Returning 0 ItemTrackingSet objects
    [22/06/2009 11:35:52]        All Pre-commit checks passed.
    [22/06/2009 11:35:52]        *************************
    [22/06/2009 11:35:52]        Starting process for Revision 61 [C:\Repositories\testrepos]
    [22/06/2009 11:35:53]        Configuration file deserialized. Logging level set to: DEBUG
    [22/06/2009 11:35:53]        SubversionNotify, Version=2.0.7.0, Culture=neutral, PublicKeyToken=null
    [22/06/2009 11:35:53]        No ItemTrackerRegistration entries found.
    [22/06/2009 11:35:53]        Processing type: post-commit
    [22/06/2009 11:35:54]        SelectApplicableReproConfigs :: ChangedFiles list: UU  projB/branches/NMCLive/b.txt
    [22/06/2009 11:35:54]        SelectApplicableReproConfigs :: Modified file name: U  projB/branches/NMCLive/b.txt
    [22/06/2009 11:35:54]        Controlled Paths List:  /projA
    [22/06/2009 11:35:54]        Controlled Paths List:  /projB/trunk
    [22/06/2009 11:35:54]        Controlled Paths List:  /projB/branches
    [22/06/2009 11:35:54]        SetRepoPathPrecidence :: Incomming configs = 0 ; Returning configs = 0
    [22/06/2009 11:35:54]        SelectApplicableReproConfigs :: Returning 0 RepoPathConfig objects
    [22/06/2009 11:35:54]        GleenItemNumbers :: Returning 0 ItemTrackingSet objects
    [22/06/2009 11:35:54]        InfoHeader :: Raw Header message -
    aswift
    2009-06-22 11:35:52 +0100 (Mon, 22 Jun 2009)
    27
    made a new branch
    merged
    [22/06/2009 11:35:55]        Controlled Paths List:  /projA
    [22/06/2009 11:35:55]        Controlled Paths List:  /projB/trunk
    [22/06/2009 11:35:55]        Controlled Paths List:  /projB/branches
    [22/06/2009 11:35:55]        SetRepoPathPrecidence :: Incomming configs = 0 ; Returning configs = 0
    [22/06/2009 11:35:55]        SelectApplicableReproConfigs :: Returning 0 RepoPathConfig objects
    [22/06/2009 11:35:55]        HTML file written to C:\SubversionNotify_v2.0.7\log\Revision 61.html
    [22/06/2009 11:35:56]        HTML Message Generated
    [22/06/2009 11:35:56]        Generating e-mail message
    [22/06/2009 11:35:56]       
    Unable to locate matching ReproPathConfig -> ControlledPaths / ControlledRepros properties. No e-mail will be sent.
    File Paths committed are:
        /U  projB/branches/NMCLive
    To send e-mail for these path(s), you must have a ControlledPaths attribute set to the folder name (including the leading "/") or one of its parents.
    Also, be sure the ControlledPaths is set to a repro URL path and not a physical drive path.
    To control your entire repository, use the setting: controlledPaths="/"
    For further details, see the manual at http://www.SubversionNotify.com
    [22/06/2009 11:35:56]        Finished e-mail processing.
    [22/06/2009 11:35:56]        Finished processing Revision 61

    <RepoPathConfig ControlledPaths="/projA" ControlledRepos="C:\Repositories\testrepos">
    <RepoPathConfig ControlledPaths="/projB/trunk" ControlledRepos="C:\Repositories\testrepos">
    <RepoPathConfig ControlledPaths="/projB/branches" ControlledRepos="C:\Repositories\testrepos">

     
    • Andrew Swift

      Andrew Swift - 2009-06-22

      BTW
      I have tried this with the latest revision. The log show the version as 2.0.9.0

      I am running this with VisualSVN Server.

      It looks like the pre-commit finds the RepoPathConfig elements OK but the post-commit does not work in the case of branches.

       

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.