Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-912

Need fine-grained hook-failure processing.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • all
    • 0.14.4
    • libsvn_client
    • None

    Description

      Three things are needed:
      
         libsvn_repos/hooks.c : needs to return different error codes for 
         *which* hook failed (not just SVN_ERR_REPOS_HOOK_FAILURE).
      
         libsvn_ra_* and mod_dav_svn : need to not lose the above error 
         code (this may not be an issue, but just making sure), and should 
         still do any post-commit processing if the hook failure happened 
         *after* a successfully commit.  In other words, if the error was
         from a failed POST-COMMIT hook, don't just propogate that
         sucker.
      
         libsvn_client/commit.c : needs to still do post-commit processing
         if the RA layer reports that the only problem was with the post-
         commit hook script.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cmpilato C. Michael Pilato
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: