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

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.4.x
    • Fix Version/s: 1.10-consider
    • Component/s: docs
    • Labels:

      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

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

              Dates

              • Created:
                Updated: