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

svn_client_log5 broken with multiple revisions which span a rename

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 1.8.0
    • Component/s: libsvn_client
    • Labels:
      None

      Description

      Stumbled upon this while working on issue #4351:
      
      # Given a renamed path:
      
      >svn log  https://svn.apache.org/repos/asf/subversion/trunk/subversion/svn/svn.c
      -v -c1415273
      ------------------------------------------------------------------------
      r1415273 | cmpilato | 2012-11-29 12:03:30 -0500 (Thu, 29 Nov 2012) | 59 lines
      Changed paths:
         D /subversion/trunk/subversion/svn/main.c
         A /subversion/trunk/subversion/svn/svn.c (from
      /subversion/trunk/subversion/svn/main.c:1415254)
      <snip>
      ------------------------------------------------------------------------
      
      # Log works correctly when a revisions range spans the rename:
      
      >svn log -q
      https://svn.apache.org/repos/asf/subversion/trunk/subversion/svn/svn.c
      -r1414304:1415280
      ------------------------------------------------------------------------
      r1414304 | julianfoad | 2012-11-27 13:21:47 -0500 (Tue, 27 Nov 2012)
      ------------------------------------------------------------------------
      r1415273 | cmpilato | 2012-11-29 12:03:30 -0500 (Thu, 29 Nov 2012)
      ------------------------------------------------------------------------
      r1415280 | julianfoad | 2012-11-29 12:19:01 -0500 (Thu, 29 Nov 2012)
      ------------------------------------------------------------------------
      
      # It also works fine with discrete revisions which *don't* span a rename:
      
      >svn log -q
      https://svn.apache.org/repos/asf/subversion/trunk/subversion/svn/svn.c
      -c1415273,1415280
      ------------------------------------------------------------------------
      r1415273 | cmpilato | 2012-11-29 12:03:30 -0500 (Thu, 29 Nov 2012)
      ------------------------------------------------------------------------
      r1415280 | julianfoad | 2012-11-29 12:19:01 -0500 (Thu, 29 Nov 2012)
      ------------------------------------------------------------------------
      
      # But requesting discrete revisions which span a rename fails:
      
      >svn log -q
      https://svn.apache.org/repos/asf/subversion/trunk/subversion/svn/svn.c
      -c1414304,1415273
      ------------------------------------------------------------------------
      r1414304 | julianfoad | 2012-11-27 13:21:47 -0500 (Tue, 27 Nov 2012)
      ..\..\..\subversion\svn\log-cmd.c:868,
      ..\..\..\subversion\libsvn_client\log.c:630,
      ..\..\..\subversion\libsvn_ra_serf\log.c:601,
      ..\..\..\subversion\libsvn_ra_serf\util.c:2413: (apr_err=SVN_ERR_FS_NOT_FOUND)
      svn: E160013:
      '/repos/asf/!svn/rvr/1415273/subversion/trunk/subversion/svn/main.c' path not found
      
      >svn log -q
      https://svn.apache.org/repos/asf/subversion/trunk/subversion/svn/svn.c
      -c1415273,1414304
      ------------------------------------------------------------------------
      r1415273 | cmpilato | 2012-11-29 12:03:30 -0500 (Thu, 29 Nov 2012)
      ..\..\..\subversion\svn\log-cmd.c:868,
      ..\..\..\subversion\libsvn_client\log.c:630,
      ..\..\..\subversion\libsvn_ra_serf\log.c:601,
      ..\..\..\subversion\libsvn_ra_serf\util.c:2413: (apr_err=SVN_ERR_FS_NOT_FOUND)
      svn: E160013:
      '/repos/asf/!svn/rvr/1414304/subversion/trunk/subversion/svn/svn.c' path not found
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pburba Paul Burba
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: