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

no support for 'svn diff -rBASE:HEAD'

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • 0.22
    • libsvn_client
    • None
    • other

    Description

      Funny, because 'svn log -rBASE:HEAD' works fine.
      
      Look at libsvn_client/diff.c:do_diff().  It attempts to pigeonhole the
      inputs into one of three scenarios:  wc vs. wc,  wc vs. repos, or
      repos vs. repos.
      
      The bug is that it's failing to recognize that a comparison between
      BASE and HEAD falls into the 3rd category.   It's treating the BASE
      concept as if it were a working-copy thing, when it *should* interpret
      the keyword as a file's working revnum...(i.e. the revnum that the
      text-base represents.)  Then it would have two specific server-side
      revnums to compare.
      

      Attachments

        1. 1_t.txt
          16 kB
          Ben Collins-Sussman

        Activity

          People

            Unassigned Unassigned
            sussman Ben Collins-Sussman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: