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

'svn diff URL URL' fails on file urls

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • all
    • 0.14.0
    • src
    • None
    • other

    Description

      $ svnadmin create ~/repo
      $ svn mkdir http://localhost:8888/repo/zig
      $ svn mkdir http://localhost:8888/repo/zig/zag
      $ svn co http://localhost:8888/repo -d ~/wc
      $ echo foo > ~/wc/zig/zag/foo
      $ svn add ~/wc/zig/zag/foo
      $ svn ci -m "foo" ~/wc
      $ echo foo >> ~/wc/zig/zag/foo
      $ svn ci -m "foo" ~/wc
      $ svn up ~/wc
      Updated to revision 4.
      
      Now these fail
      
      $ svn diff -r3:4 ~/wc/zig/zag/foo 
      
      svn_error: #21095 : <RA layer request failed>
        REPORT request failed on /repo/zig/zag
      
      $ svn diff -r3:4 ~/wc/zig/zag/
      
      svn_error: #21066 : <Filesystem has no item>
        
      file not found: revision `4', path `/zig/zag/zag/foo'
      
      $ svn diff -r3:4 ~/wc/zig/
      
      svn_error: #21066 : <Filesystem has no item>
        
      file not found: revision `4', path `/zig/zig/zag/foo'
      
      but this works
      
      $ svn diff -r3:4 ~/wc/
      Index: zig/zag/foo
      ===================================================================
      --- zig/zag/foo
      +++ tmp.12884.00001     Tue Jun 18 21:40:03 2002
      @@ -1 +1,2 @@
       foo
      +foo
      
      If I check-out http://localhost:8888/repo/zig diff still only works
      when path is ~/wc. It appears that 'svn diff -rX:Y PATH' over ra_dav
      only works if PATH is the base of the working copy. Guess what the
      regression tests do when testing diff!
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: