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

"svn diff --old URL --new WC" not using WC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • 1.1.0
    • libsvn_client
    • None

    Description

      Diff doesn't appear to get the right source/target
      
      rm -rf repo wc
      svnadmin create repo
      svn mkdir file://`pwd`/repo/trunk -m r1
      svn co file://`pwd`/repo/trunk wc
      echo foo >> wc/foo
      svn add wc/foo
      svn ci wc -m r2
      echo mod >> wc/foo
      svn ci wc -m r3
      svn cp -r2 file://`pwd`/repo/trunk file://`pwd`/repo/branch -m r4
      svn sw file://`pwd`/repo/branch wc
      
      There is a trunk-to-branch diff (it can been seen by comparing URLs) but this
      command doesn't show it
      
      svn diff --old file://`pwd`/repo/trunk --new wc
      
      A quick investigation with gdb showed that svn_repos_dir_delta is doing
      a /trunk to /trunk diff rather than a /trunk to /branch diff.  It's not
      immediately clear how to fix it.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            philipm Philip Martin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: