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

In post-commit hook template, suggest redirecting output of backgrounded jobs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.4.x
    • 1.10-consider
    • docs

    Description

      As issue 2497 explains, svnserve waits for all child processes of the
      post-commit hook to finish.  This means that if you background a job in your
      hook, expecting that to make the commit finish faster, you'll be unpleasantly
      surprised -- commits will take just as long as if you hadn't backgrounded the
      job.  The solution is to redirect stdout and stderr of that backgrounded job.
      
      So: it'd be nice if the post-commit.tmpl _said_ that in one of its many comments.
      

      Original issue reported by offby1

      Attachments

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: