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

Improved signal handling for svnadmin, svnlook and svn

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: 1.0-consider
    • Component/s: src
    • Labels:
      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. 2_diff.txt
          14 kB
          Greg Hudson
        2. 1_signal-handling.diff
          14 kB
          Subversion Importer

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              subversion-importer Subversion Importer

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment