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

svnlook diff -rX:Y fails to error, instead silently does wrong thing.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • all
    • 1.1.0
    • svnlook
    • None

    Description

      Run this script, see how at the end it prints out the diff for r1, instead of
      the diff for r2 as requested.  Now that's some serious badness.
      
         #!/bin/sh
         
         rm -rf repos wc
         
         SVN=svn
         SVNADMIN=svnadmin
         SVNLOOK=svnlook
         
         ${SVNADMIN} create repos
         
         mkdir import-tree
         echo "This is foo.txt." > import-tree/foo.txt
         ${SVN} import -m "Import." import-tree file://`pwd`/repos
         
         ${SVN} co file://`pwd`/repos wc
         
         echo "First modification to foo.txt, in r2." >> wc/foo.txt
         ${SVN} ci -m "Commit r2." wc
         
         echo "Next modification to foo.txt, in r3." >> wc/foo.txt
         ${SVN} ci -m "Commit r3." wc
         
         ${SVNLOOK} diff -r1:2 repos
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kfogel Karl Fogel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: