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

--extensions '' doesn't work.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.0.1
    • unscheduled
    • cmdline client
    • None

    Description

      --extensions '' doesn't work. If the user tries to set diff options to nothing (''), svn ignores it entirely, 
      and uses -u. This is broken for programs like bbdiff and sdiff, which don't support -u.
      
      Using a non-empty string, --extensions can be coaxed into dropping -u, but still supplies -L, which 
      also prevents usage of bbdiff and sdiff. I have confirmed this behavior in both Mac OS X 10.3.5 (built via 
      fink) and FreeBSD 4.10-STABLE (built from ports).
      
      
      pepper@g4:~/www/pepper/public_html/svn/subversion$ uname -a
      Darwin g4.reppep.com 7.5.0 Darwin Kernel Version 7.5.0: Thu Aug  5 19:26:16 PDT 2004; root:xnu/
      xnu-517.7.21.obj~3/RELEASE_PPC  Power Macintosh powerpc
      pepper@g4:~/www/pepper/public_html/svn/subversion$ svn diff --diff-cmd bbdiff --extensions '' 
      HACKING
      Index: HACKING
      ===============================================================
      ====
      bbdiff: -u: No such file or directory
      svn: 'bbdiff' returned 255
      pepper@g4:~/www/pepper/public_html/svn/subversion$ svn diff --diff-cmd bbdiff --extensions '--
      wait' HACKING
      Index: HACKING
      ===============================================================
      ====
      bbdiff: -L: No such file or directory
      svn: 'bbdiff' returned 255
      
      
      pepper@www:~/public_html/svn/subversion$ uname -aFreeBSD www.reppep.com 4.10-STABLE 
      FreeBSD 4.10-STABLE #16: Wed Jul 21 18:25:39 EDT 2004     root@www.reppep.com:/usr/obj/usr/src/
      sys/REPPEP  i386
      pepper@www:~/public_html/svn/subversion$ svn diff --diff-cmd sdiff --extensions '' HACKING
      Index: HACKING
      ===============================================================
      ====
      sdiff: invalid option -- u
      sdiff: Try `sdiff --help' for more information.
      svn: 'sdiff' returned 2
      pepper@www:~/public_html/svn/subversion$ svn diff --diff-cmd sdiff --extensions '-w160' HACKING
      Index: HACKING
      ===============================================================
      ====
      sdiff: invalid option -- L
      sdiff: Try `sdiff --help' for more information.
      svn: 'sdiff' returned 2
      

      Original issue reported by reppep

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment