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

Improved signal handling for svnadmin, svnlook and svn

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • 1.0-consider
    • src
    • None

    Description

      The signal handling in svnadmin, svnlook and the cmdline client is lacking. The
      result is that it's way too easy to make a respository hang which makes
      Subversion seem fragile. All you need to do is to press ctrl-c during a dump or
      verify, or use "svnlook cat | more" and quit more by pressing q.
      
      The (soon to be) attached patch addresses this by implementing cancellation
      support to the dump/load/verify code, by handling SIGINT, SIGHUP and SIGTERM,
      and by ignoring SIGPIPE. The cmdline client already has SIGINT handling.
      

      Original issue reported by bliss

      Attachments

        1. 1_signal-handling.diff
          14 kB
          Subversion Importer
        2. 2_diff.txt
          14 kB
          Greg Hudson

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: